Last active
October 31, 2022 01:53
-
-
Save wenqiglantz/14536a58a486eb6ea8ea11ee31424781 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: Zip the code and deploy to S3 | |
| run: | | |
| aws s3 sync ./${{ inputs.build-dir }} s3://${{ secrets.S3_BUCKET_NAME }} | |
| - name: Invalidate cloudFront cache | |
| run: | | |
| aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DISTRIBUTION_ID }} --paths "/*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment