Instruction
Create a second GitHub repository for your website code. Create GitHub Actions such that when you push new website code, the S3 bucket automatically gets updated.
Service
Git, AWS IAM
1. Git Repository 생성
2. [.github/workflows] -> yml 파일 생성
- AWS Access Key & Secret Access Key 받는 방법
- Github 'Secrets and Variables'
3. Terminal
cd desktop
mkdir cloud-resume-challenge
## ---- website 폴더 (html, css, js 의 파일들이 있는) 를 새로 만든 cloud-resume-challenge 폴더로 이동 ---- ##
git init
git add.
git commit -m "initial commit"
git branch -M main
git remote add origin https://github.com/duper203/aws-cloud-resume-challenge.git
git push -u origin main
## ---- git repository 가서 확인, 'actions' 도 확인 ---- ##
4. VS Code 로 쉽게 커밋 & 푸쉬
- 코드 변경
- '소스제어' 가서 커밋 작성
- 버튼으로 커밋 후 푸쉬
'[AWS] CloudResumeChallenge' 카테고리의 다른 글
[STEP 7] Javascript (0) | 2024.04.07 |
---|---|
[STEP 9, 10, 11] API + Python + Test (0) | 2024.03.24 |
STEP 8 Database (0) | 2024.03.24 |
STEP 6 DNS (0) | 2024.03.23 |
STEP 5 HTTPS (0) | 2024.03.23 |