Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyesungoh/action-dpcras3cf
github action for automatic deploying CRA app at AWS s3 and cloudfront
https://github.com/hyesungoh/action-dpcras3cf
actions aws deployment
Last synced: 15 days ago
JSON representation
github action for automatic deploying CRA app at AWS s3 and cloudfront
- Host: GitHub
- URL: https://github.com/hyesungoh/action-dpcras3cf
- Owner: hyesungoh
- License: mit
- Created: 2021-10-03T10:30:26.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-03T12:11:42.000Z (about 3 years ago)
- Last Synced: 2024-10-31T10:49:43.834Z (16 days ago)
- Topics: actions, aws, deployment
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DPCRAS3CF
Github Action what **d**e**p**loying **CRA** app at AWS **S3** and **C**loud**F**ront
_It is not limited to CRA app, just customize some command_
## How to use it
1. Customize trigger
```yml
on: # trigger when push to master
push:
branches:
- master
```2. Add Option
```yml
jobs:
deploy:
runs-on: ubuntu-18.04 #or -latest
env:
AWS_S3_BUCKET_NAME: your-s3-bucket-name
AWS_CF_DISTRIBUTION_ID: your-cloudfront-distribution_id
AWS_REGION: your-s3-region-name
# and you need github secrets for
# ASW_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
```3. Add Secrets at your repo
```yml
${{ secrets.AWS_ACCESS_KEY_ID }}
${{ secrets.AWS_SECRET_ACCESS_KEY }}
```## More info with korean
[Check my blog post](https://www.hyesungoh.xyz/React/cdS3CfWithGithubAction/)
[Check on marketplace](https://github.com/marketplace/actions/dpcras3cf)