File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 1- # action-deploy-webapp-aws
2- Deploys a webapp to an s3 bucket and then invalidates cloudfront entry
1+ # Github Actions - S3 and Cloudfront Invalidation
2+ This is a simple utility to deploy to AWS S3 bucket and invalidate a cloudfront id. It is that straightforward. See usage below
3+
4+ ### Usage:
5+ Just place this in your code underneath your build action within the steps, update the variables and secrets and that is it.
6+ ``` yaml
7+ - name : Deploy application to AWS S3 and invalidate cloudfront cache
8+ uses : pukonu/action-deploy-webapp-aws@v.1.0
9+ id : deploy
10+ with :
11+ build_path : ' ./path/to/build/folder'
12+ bucket_name : ' <AWS BUCKET NAME>'
13+ bucket_key : ' '
14+ distribution_invalidation_path : ' /*'
15+ env :
16+ DISTRIBUTION_ID : ' <DISTRIBUTION ID>'
17+ AWS_REGION : ' <AWS REGION>'
18+ AWS_ACCESS_KEY_ID : ' <AWS_ACCESS_KEY_ID>'
19+ AWS_SECRET_ACCESS_KEY : ' <AWS_SECRET_ACCESS_KEY>'
20+ ` ` `
You can’t perform that action at this time.
0 commit comments