Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onramper/action-deploy-aws-static-site
Batteries-included Github action that deploys a static site to AWS Cloudfront, taking care of DNS, SSL certs and S3 buckets
https://github.com/onramper/action-deploy-aws-static-site
actions aws cloudfront github-action
Last synced: 17 days ago
JSON representation
Batteries-included Github action that deploys a static site to AWS Cloudfront, taking care of DNS, SSL certs and S3 buckets
- Host: GitHub
- URL: https://github.com/onramper/action-deploy-aws-static-site
- Owner: onramper
- License: mit
- Created: 2020-08-13T15:44:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-01T15:43:14.000Z (about 1 year ago)
- Last Synced: 2024-11-14T03:34:10.223Z (about 1 month ago)
- Topics: actions, aws, cloudfront, github-action
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/deploy-static-site-to-aws
- Size: 115 MB
- Stars: 77
- Watchers: 5
- Forks: 22
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Deploy static site to AWS
Batteries-included Github action that deploys a static site to AWS Cloudfront, taking care of DNS, SSL certs and S3 buckets
## Usage
```yaml
- name: Deploy to AWS
uses: onramper/[email protected]
with:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
domain: subdomain.example.com
publish_dir: ./public
```Make sure to add your `domain` to Route 53 as hosted zone and add an `NS` record if needed. An `A` record will be automatically added by the action.