PERicci / CYF-Coursework-Planner

Your coursework planner by CYF
1 stars 0 forks source link

[TECH ED] Frontend Deployment #316

Open PERicci opened 1 month ago

PERicci commented 1 month ago

From Module-Cloud created by SallyMcGrath: CodeYourFuture/Module-Cloud#1

Link to the coursework

https://github.com/CodeYourFuture/React-Module-Project

Why are we doing this?

Setup Github Actions for CYF Hotel Frontend deployments to S3

  1. Create GitHub Actions Workflow File: In your CYF Hotel repository, create a new YAML file under the .github/workflows directory. Name it something relevant, like frontend-s3-deploy.yml.

  2. Configure AWS Credentials: Utilize GitHub Secrets to securely store your AWS credentials. These secrets will be used in the GitHub Actions workflow to authenticate against AWS.

  3. Write S3 Deployment Steps: In the YAML file, define the steps to install AWS CLI, configure AWS credentials, and sync your build folder to your S3 bucket.

  4. Test the Workflow: Push a change to your repository or manually run the workflow from the GitHub Actions tab to verify that the S3 deployment works as expected.

Maximum time in hours

3

How to get help

If you are doing this for the first time, this will be hard. You must reach out to volunteers to help you. Your ability to ask for help is be actively assessed during this time.

You are not expected to be able to complete this module completely independently. You are expected to get help from volunteers.

How to submit

In this advanced module you will demo your work.

PERicci commented 1 month ago

http://52.90.98.83:3000/ Image

PERicci commented 1 month ago

https://github.com/PERicci/cyf-Cloud-Full_Stack_Project/actions/runs/9497953209/job/26175652641