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.

貢獻指南

開啟貢獻指南

研究方向

建立 .github/workflows/frontend-s3-deploy.yml,並先檢視 GitHub Actions 課程連結。設定 GitHub Secrets、安裝並驗證 AWS CLI,然後將 build 資料夾同步至 S3 儲存貯體。當從 Actions 索引標籤執行 push 或手動執行都能成功部署前端時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
aws, github-actions
領域
ci-cd, cloud, devops
Issue 類型
功能
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。