Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .github/workflows/deploy-docs-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history

- name: Fetch Quarto
uses: ./.github/actions/fetch-quarto
Expand All @@ -32,26 +30,7 @@ jobs:
exit 1;
}

- name: Fetch prod branch
id: fetch_prod
run: git fetch origin prod

# See if site/notebooks/ has updates
# Checks against the previous commit to prod prior to the current push event
- name: Filter changed files
if: ${{ steps.fetch_prod.outcome == 'success' }}
uses: dorny/paths-filter@v2
id: filter
with:
base: ${{ github.ref }}
ref: ${{ github.sha }}
filters: |
notebooks:
- 'site/notebooks/**'

# If yes then create the .env file for use in execution step
- name: Create .env file
if: steps.filter.outputs.notebooks == 'true'
id: create_env
run: |
touch .env
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/deploy-docs-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
steps:
- name: Check out repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history

- name: Fetch Quarto
uses: ./.github/actions/fetch-quarto
Expand All @@ -32,26 +30,7 @@ jobs:
exit 1;
}

- name: Fetch staging branch
id: fetch_staging
run: git fetch origin staging

# See if site/notebooks/ has updates
# Checks against the previous commit to staging prior to the current push event
- name: Filter changed files
if: ${{ steps.fetch_staging.outcome == 'success' }}
uses: dorny/paths-filter@v2
id: filter
with:
base: ${{ github.ref }}
ref: ${{ github.sha }}
filters: |
notebooks:
- 'site/notebooks/**'

# If yes then create the .env file for use in execution step
- name: Create .env file
if: steps.filter.outputs.notebooks == 'true'
id: create_env
run: |
touch .env
Expand Down