This action can be used to deploy code to Amazon S3.
It also supports post-deploy CloudFront path invalidation.
Required The name of the S3 bucket.
Required The directory containing the code to be deployed.
Optional The AWS access key ID.
Optional The AWS secret access key.
Optional The AWS default region.
Optional The CloudFront distribution ID.
Optional The paths to be invalidated on CloudFront.
If this is left empty, no paths will be invalidated.
No outputs.
- uses: compeon/deploy-s3
with:
bucket: my-s3-bucket
source: dist
cloudfront-distribution: ABC123DEF456
cloudfront-invalidate-paths: /index.html
Use yarn version
to increment the version number.
Command | Description |
---|---|
yarn version --patch |
Patch release |
yarn version --minor |
Minor release |
yarn version --major |
Major release |
A build will be created, tagged and pushed in the process.