CodeYourFuture / CodeYourFuture/Module-Cloud

[TECH ED] GitHub Actions

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
🎯 Topic Delivery 🎯 Topic Structuring Data 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Cloud
Dominant language
No language data
Stars
0
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### Link to the coursework

https://docs.github.com/en/actions

### Why are we doing this?

## Setup Github Actions for CYF Hotel Frontend deployments to S3

**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.

**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.

**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.

**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

2

### How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

### How to submit

In this advanced module you will demo your work. You may wish to make notes for case studies to add to your portfolio.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.