Skip to content

Commit

Permalink
Fix aws s3 sync
Browse files Browse the repository at this point in the history
  • Loading branch information
griffinfujioka committed Mar 21, 2024
1 parent 2a53e3e commit b1ccc25
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/aws-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@ jobs:
exit 1
fi
- name: DEBUG - pwd
run: pwd

- name: Write an arbitrary file to S3 - just to demonstrate how.
run: aws s3 sync index.html ${{ env.S3_BUCKET }}
run: aws s3 sync ../index.html ${{ env.S3_BUCKET }}

- name: Invalidate CloudFront cache
run: aws cloudfront create-invalidation --distribution-id ${{ env.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"

0 comments on commit b1ccc25

Please sign in to comment.