Skip to content

Commit

Permalink
ci: update cdn_deploy to push dist to tag dir
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 6, 2024
1 parent 067efad commit f19cde3
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/cdn_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ jobs:
# latest for main branch, else tag name
S3_PATH: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }}
run: |
# Push core.js to S3
# aws s3 cp ${{ github.workspace }}/dist/index.js \
# s3://${{ vars.S3_BUCKET_NAME }}/${{ env.S3_PATH }}/core.js
# Push dist folder to aws S3
aws s3 cp ${{ github.workspace }}/dist \
s3://${{ vars.S3_BUCKET_NAME }}/${{ env.S3_PATH }}/dist --recursive
# Push dist to correct S3 dir
aws s3 cp --recursive ${{ github.workspace }}/dist/ \
s3://${{ vars.S3_BUCKET_NAME }}/${{ env.S3_PATH }}/

0 comments on commit f19cde3

Please sign in to comment.