Skip to content

Commit

Permalink
ci: s3 sync
Browse files Browse the repository at this point in the history
  • Loading branch information
limulus authored Sep 23, 2024
1 parent 3d7814c commit c9b2928
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,12 @@ jobs:
contents: read
id-token: write
steps:
- run: echo "StaticSiteBucketName ${{ needs.infra.outputs.StaticSiteBucketName }}"
# - uses: actions/download-artifact@v4
# with:
# name: dist-www
# path: www
# - uses: aws-actions/configure-aws-credentials@v4
# with:
# role-to-assume: arn:aws:iam::865116139480:role/github-actions-limulus-penumbra
# aws-region: us-west-2
# - run: aws s3 sync www s3://${{ needs.infra.outputs.StaticSiteBucketName }} --delete --cache-control max-age=60,public
- uses: actions/download-artifact@v4
with:
name: dist-www
path: www
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::865116139480:role/github-actions-limulus-dot-net-s3
aws-region: us-west-2
- run: aws s3 sync www s3://${{ needs.infra.outputs.StaticSiteBucketName }} --delete --cache-control max-age=60,public

0 comments on commit c9b2928

Please sign in to comment.