Skip to content

Commit

Permalink
feat: testing bucket sepup
Browse files Browse the repository at this point in the history
  • Loading branch information
syam babu committed Jan 12, 2024
1 parent 2e4fe38 commit 3788768
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-staging-deploy-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
TEST_NOW: ${{ vars.TEST_VAR }}
AWS_REGION: ca-central-1
WEBHOSTING_BUCKET_NAME: staging.cms-widget.footlight.io
runs-on: ubuntu-22.04
Expand All @@ -17,4 +18,5 @@ jobs:
- uses: actions/checkout@v2
- run: npm install
- run: npm run build
- run: aws s3 sync ./build s3://${{env.WEBHOSTING_BUCKET_NAME}}/ --acl public-read --delete --cache-control max-age=3600
- run: echo "TEST_NOW=${{ env.TEST_NOW }}"
- run: aws s3 sync ./build s3://${{ env.WEBHOSTING_BUCKET_NAME}}/ --acl public-read --delete --cache-control max-age=3600

0 comments on commit 3788768

Please sign in to comment.