Skip to content

Commit

Permalink
readme: update deployment notes;
Browse files Browse the repository at this point in the history
  • Loading branch information
noynovera committed Dec 12, 2024
1 parent c9de1b2 commit f9d0306
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,19 @@ A personal portfolio and blogging website
- Push changes to Github
- Manually trigger Github Actions - Deploy Amplify web service
- Wait for AWS Amplify to finish deployment
- We use Github Actions to deploy our app to AWS amplify
- Github Actions - Deploy Amplify web service
- Configure environment secrets on the repo for Github Actions
- AWS_REGION
- IAM_ROLE
- AMPLIFY_WEB_SRVC_WEBHOOK_URL
- We configured AWS IAM roles for Github Actions
- [Use IAM roles to connect GitHub Actions to actions in AWS](https://aws.amazon.com/blogs/security/use-iam-roles-to-connect-github-actions-to-actions-in-aws/)
- We configured an AWS Amplify webhook to trigger deployment
- Get Webhook URL. AWS Amplify > nynvr.io > Hosting > Environment variables
- We use Github Actions to deploy our app to AWS Amplify
- We need to configure environment secrets on the repo for Github Actions
```
- AWS_REGION
- IAM_ROLE
- AMPLIFY_WEB_SRVC_WEBHOOK_URL
```
- We need to use the Github Actions Workflow: Deploy Amplify web service - `deploy-amplify-web-service.yml`
- The Github Actions Workflow will trigger the deployment in AWS Amplify via a webhook
- You can find the webhook URL in the AWS Amplify console.
- AWS Amplify > nynvr.io > Hosting > Build settings > Incoming webhooks > TriggerBuildWebhook
- AWS Amplify > nynvr.io > Hosting > Environment variables - AMPLIFY_WEB_SRVC_WEBHOOK_URL
- We need to configure the environment variable on AWS Amplify for Google Analytics
- AWS Amplify > nynvr.io > Hosting > Environment variables - GOOGLEANALYTICS_ID

0 comments on commit f9d0306

Please sign in to comment.