Skip to content

Commit

Permalink
ci: update aws cp over sync (file must exist prior)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 5, 2024
1 parent 701b023 commit b104ec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cdn_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ jobs:
# latest for main branch, else tag name
S3_PATH: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }}
run: |
# Push to S3
aws s3 sync ${{ github.workspace }}/dist/index.js \
s3://${{ vars.S3_BUCKET_NAME }}/ui/${{ env.S3_PATH }}/core.js
# Push core.js to S3
aws s3 cp ${{ github.workspace }}/dist/index.js \
s3://${{ vars.S3_BUCKET_NAME }}/${{ env.S3_PATH }}/core.js

0 comments on commit b104ec2

Please sign in to comment.