You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/assignments/hw5-25.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ You'll be using it to host your calculator frontend code. With this you will be
92
92
93
93
Amplify integrates with [Amazon S3](https://docs.aws.amazon.com/amplify/latest/userguide/hosting.html) to store and serve static assets like HTML, CSS, and JavaScript files. It provides an automated deployment pipeline that syncs with your GitHub repository and updates the frontend whenever changes are pushed to the main branch.
94
94
95
-
Your task is to set up Amplify to host the frontend of your application. To complete this part of the assignment, refer to the following AWS documentation:
95
+
Your task is to create a S3 bucket, upload frontend code in build/ folder to AWS S3 bucket, and set up Amplify to host the frontend of your application. To complete this part of the assignment, refer to the following AWS documentation:
96
96
-[Getting started with Amplify hosting with S3](https://docs.aws.amazon.com/amplify/latest/userguide/deploy-website-from-s3.html)
97
97
98
98
### 4. Use Github actions to automatically deploy on each push to main
Sample GitHub Actions Workflow (Ensures secure authentication by retrieving necessary AWS credentials from GitHub Secrets.)
116
116
```yaml
117
117
name:
118
118
@@ -145,9 +145,9 @@ You should create a [Github workflow](https://docs.github.com/en/actions/writing
145
145
- Uses the AWS CLI to update the lambda code (giving the CLI access to your authentication secret and AWS region through the environment).
146
146
147
147
#### Deploying frontend code
148
-
- [Using Amplify With Github](https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html)
149
-
150
-
148
+
- Use Node.js to deploy frontend code.
149
+
- Deploys the built application to an AWS S3 bucket.
150
+
- Triggers AWS Amplify to redeploy the latest frontend version from S3. [Using Amplify With Github](https://docs.aws.amazon.com/amplify/latest/userguide/setting-up-GitHub-access.html)
0 commit comments