- Copy the content in
.github/workflows/main.ymlfile in this repository to your.github/workflows/main.ymlfile.
-
Add the following to your our Github secrets (under settings->secrets tab).
AWS_PRODUCTION_BUCKET_NAME= Your S3 bucket nameAWS_REGION= Your AWS regionAWS_ACCESS_KEY_ID= Your AWS access keyAWS_SECRET_ACCESS_KEY= Your AWS secret key
-
For AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY , Please go to "My security credentials"
-
Click "create access key",
-
Copy
access key idandsecret access key id, -
Paste them to Github secrets.
- After commiting your changes, then go to your Github repository and click on
actionstab. - Then click on
CIaction. - Then click on
Runbutton.