diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c69d6ea2..e832a3c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,13 +7,12 @@ on: workflow_dispatch: inputs: target: - description: "Promote target (both keeps the legacy web+admin selection)" + description: "Promote target release branch selection" required: true - default: "both" + default: "all" type: choice options: - all - - both - web - admin - university @@ -79,9 +78,6 @@ jobs: all) RELEASE_BRANCHES="release-web release-admin release-university" ;; - both) - RELEASE_BRANCHES="release-web release-admin" - ;; *) echo "Unsupported target: $TARGET" >&2 exit 1 diff --git a/docs/git-cicd.md b/docs/git-cicd.md index 231b0934..1e2af34e 100644 --- a/docs/git-cicd.md +++ b/docs/git-cicd.md @@ -50,9 +50,8 @@ Github Actions의 `Promote Main to Release Branches`를 가동시키면 선택 릴리즈 workflow의 target은 다음과 같이 사용합니다. - `all`: web, admin, university-web 전체 릴리즈 -- `both`: 기존 호환용 web + admin 릴리즈 - `web`: web만 릴리즈 - `admin`: admin만 릴리즈 - `university`: university-web만 릴리즈 -기본값은 `both`입니다. university-web까지 함께 릴리즈하려면 `all` 또는 `university`를 명시적으로 선택합니다. +기본값은 `all`입니다. 특정 project만 production 릴리즈하려면 `web`, `admin`, `university`를 선택합니다. diff --git a/docs/university-multizone-deployment.md b/docs/university-multizone-deployment.md index 06ee0511..1ce5701e 100644 --- a/docs/university-multizone-deployment.md +++ b/docs/university-multizone-deployment.md @@ -75,10 +75,11 @@ production 릴리즈는 GitHub Actions `Promote Main to Release Branches` workfl workflow target은 다음과 같이 사용한다. - `all`: `release-web`, `release-admin`, `release-university`를 모두 main으로 갱신 +- `web`: `release-web`만 main으로 갱신 +- `admin`: `release-admin`만 main으로 갱신 - `university`: `release-university`만 main으로 갱신 -- `both`: 기존 호환용으로 `release-web`, `release-admin`만 갱신 -workflow 기본값은 `both`다. university web production 배포는 `all` 또는 `university`를 명시적으로 선택했을 때만 함께 승격한다. +workflow 기본값은 `all`이다. 개별 production 배포가 필요하면 `web`, `admin`, `university`를 선택한다. production web project의 `UNIVERSITY_WEB_DOMAIN`은 university web production origin을 가리켜야 한다. 예를 들어 사용자 production URL이 `https://www.solid-connection.com/university`라면 rewrite 대상은 별도 university web production origin이다.