Skip to content

Commit

Permalink
Merge pull request #6 from culturecreates/feature/issue-108
Browse files Browse the repository at this point in the history
fix: fixed workflow
  • Loading branch information
SyamBabu-M authored Jan 15, 2024
2 parents 9e1f426 + 516e159 commit 2fac079
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build-staging-deploy-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,14 @@ jobs:
- uses: actions/checkout@v2
- run: npm install
- run: npm run build
- 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
copytos3:
uses: keithweaver/[email protected]
with:
command: cp
source: ./build
destination: s3://staging.cms-widget.footlight.io/
secrets:
aws_access_key_id: ${{ secrets.S3_ACCESS_KEY_ID}}
aws_secret_access_key: ${{ secrets.S3_SECRET_ACCESS_KEY }}
aws_region: ca-central-1
flags: --acl public-read --delete --cache-control max-age=3600

0 comments on commit 2fac079

Please sign in to comment.