Skip to content

Commit

Permalink
Merge pull request #5 from culturecreates/feature/issue-108
Browse files Browse the repository at this point in the history
feat: testing bucket sepup
  • Loading branch information
SyamBabu-M authored Jan 12, 2024
2 parents 0c15e69 + 3788768 commit 9e1f426
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 9e1f426

Please sign in to comment.