You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: 상용 배포용 태그 자동 생성 워크플로 추가 (Promote to Production) (#241)
git tag를 로컬에서 직접 만들고 push하는 게 번거롭다는 피드백에 따라,
GitHub Actions workflow_dispatch로 버튼 한 번(또는 gh workflow run)에
다음 semver 태그를 계산해 생성/push하는 워크플로를 추가했다.
이 태그 push가 prod-cd.yml의 트리거(on.push.tags)를 실행시켜
상용 배포로 이어진다.
Co-authored-by: 나미 <dnska6657@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,14 @@
176
176
| staging (Render) |`main` push | 자동 배포 |
177
177
| 상용 (AWS CodeDeploy) |`v*` 형식의 git tag push | 수동 승격 |
178
178
179
-
merge → staging에서 자동 확인 → 문제 없으면 `git tag v1.x.x && git push origin v1.x.x`로 상용 배포. 버전은 느슨한 semver(기능 추가 minor, 버그 수정 patch)를 따른다.
179
+
merge → staging에서 자동 확인 → 문제 없으면 상용 배포. 태그를 로컬에서 직접 만들 필요 없이, **GitHub Actions의 `Promote to Production` workflow**(`workflow_dispatch`)를 실행하면 다음 semver 태그를 자동 계산해 push까지 해준다.
180
+
181
+
```bash
182
+
# Actions 탭에서 "Promote to Production" → Run workflow 버튼으로도 가능
183
+
gh workflow run promote-to-prod.yml -f bump=patch # patch | minor | major
0 commit comments