CodeYourFuture / CodeYourFuture/Module-Cloud

[TECH ED] GitHub Actions

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
🎯 Topic Delivery 🎯 Topic Structuring Data 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Cloud
主要语言
没有语言数据
星标
0
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。