Skip to content

Commit

Permalink
Fix command run, make download-and-transfer-document-assets dependant…
Browse files Browse the repository at this point in the history
… on transfer-document-image-assets to prevent committing to the same file
  • Loading branch information
VitalikL committed Nov 6, 2023
1 parent fc7c0cf commit 57ca27b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
download-and-transfer-document-assets:
if: (github.repository == 'Adventech/sabbath-school-resources')
runs-on: ubuntu-latest
needs: transfer-document-image-assets
steps:
- uses: actions/checkout@v4
name: Fetch the repository files
Expand All @@ -97,7 +98,7 @@ jobs:
name: Creating download directory
- run: grep -Poir "(http|https)://(?!sabbath-school)[a-zA-Z0-9./?=_%:-]*" --include="*.md" ./src > detected_links.txt
name: Finding all external links in the markdown files and saving to detected_links.txt
- run: node download-document-assets.js
- run: node ops/sync/download-document-assets.js
name: Running script to generate transfer commands
env:
DEPLOY_ENV: ${{ steps.extract_branch.outputs.branch }}
Expand Down

0 comments on commit 57ca27b

Please sign in to comment.