From 442d294c2a7a230ceb67362db0bcb2183b8d6261 Mon Sep 17 00:00:00 2001 From: Jisu Kim Date: Tue, 16 Jan 2024 14:59:17 +0900 Subject: [PATCH] deploy ref --- .github/workflows/cd-tag-release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd-tag-release.yaml b/.github/workflows/cd-tag-release.yaml index c16f3ea..fd53ebc 100644 --- a/.github/workflows/cd-tag-release.yaml +++ b/.github/workflows/cd-tag-release.yaml @@ -10,6 +10,9 @@ on: team: required: true type: string + deploy_ref: + required: false + type: string jobs: deploy-each: @@ -31,7 +34,7 @@ jobs: case "frontend": return context.ref == "refs/heads/main" case "devops": - return context.ref == "refs/heads/master" + return context.ref == "${{ inputs.deploy_ref }}" } return false }