Skip to content

Commit

Permalink
ci: update cdn deploy to install awscli
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 5, 2024
1 parent 0e29056 commit 73a8058
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cdn_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,10 @@ jobs:
# latest for main branch, else tag name
PATH: ${{ github.ref_name == 'main' && 'latest' || github.ref_name }}
run: |
# Install AWS CLI
sudo apt-get update
sudo apt-get install -y awscli --no-install-recommends
# Push to S3
aws s3 sync ${{ github.workspace }}/dist/index.js \
s3://${{ vars.S3_BUCKET_NAME }}/ui/${{ env.PATH }}/core.js

0 comments on commit 73a8058

Please sign in to comment.