CodeYourFuture / CodeYourFuture/Module-Cloud

[TECH ED] GitHub Actions

Đang mở
#4 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
🎯 Topic Delivery 🎯 Topic Structuring Data 🏕 Priority Mandatory 🐂 Size Medium 📅 Sprint 2 Cloud
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
0
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Tạo .github/workflows/frontend-s3-deploy.yml và bắt đầu bằng việc xem lại liên kết khóa học GitHub Actions. Cấu hình GitHub Secrets, cài đặt và xác thực AWS CLI, rồi đồng bộ thư mục build với bucket S3. Hoàn thành khi một push hoặc lần chạy thủ công từ tab Actions triển khai frontend thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, github-actions
Lĩnh vực
ci-cd, cloud, devops
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.