fikretellek / Coursework-Planner

Your coursework planner
0 stars 0 forks source link

[TECH ED] Frontend Deployment #272

Open fikretellek opened 3 weeks ago

fikretellek commented 3 weeks 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.

fikretellek commented 2 weeks ago

Image

fikretellek commented 2 weeks ago

github action runs ---> https://github.com/fikretellek/React-Module-Project/actions/workflows/frontend-s3-deploy.yml action yml file ---> https://github.com/fikretellek/React-Module-Project/blob/main/.github/workflows/frontend-s3-deploy.yml repository ---> https://github.com/fikretellek/React-Module-Project

Ara225 commented 3 days ago

Just a heads up, I can’t see your deployment file in the repo. I saw you do it and do it well in person but might trip you up in future so I thought I'd tip you off