From b43c5f44e4337087564f95f9d70848a72aaff177 Mon Sep 17 00:00:00 2001 From: abg3000 Date: Sat, 6 Jul 2024 19:47:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B0=B0=ED=8F=AC=20workflow=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-integration.yml | 6 +++--- .github/workflows/deploy-test.yml | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-integration.yml b/.github/workflows/deploy-integration.yml index d23e597a..16c7b1e8 100644 --- a/.github/workflows/deploy-integration.yml +++ b/.github/workflows/deploy-integration.yml @@ -1,4 +1,4 @@ -name: Push branch & deploy On remote repository only for Vercel +name: Push branch & deploy on: workflow_call: @@ -21,7 +21,7 @@ env: jobs: variable: - name: set the target STAGE + name: set target runs-on: ubuntu-latest outputs: destination-repository: ${{inputs.stage == 'production' && env.PRODUCTION_REPOSITORY && env.DEVELOP_REPOSITORY}} @@ -51,7 +51,7 @@ jobs: destination-github-username: 'sambad-adventure' destination-repository-name: ${{needs.variable.outputs.destination-repository}} user-email: ${{secrets.EMAIL}} - commit-message: ${{github.event.commits[0].message}} + commit-message: ${{github.event.commits.message}} target-branch: ${{inputs.stage == 'prodction' && 'main' || 'main' }} - name: get deploy information id: deploy-information diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/deploy-test.yml index 928ca885..58cef390 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/deploy-test.yml @@ -1,5 +1,3 @@ -name: Deploy - on: workflow_dispatch: inputs: