From 225a08de428f4cb877129121ab329b57b6a9b992 Mon Sep 17 00:00:00 2001 From: HoeSeong123 Date: Thu, 22 Aug 2024 21:53:17 +0900 Subject: [PATCH] =?UTF-8?q?fix(workflows):=20front=20cd=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/frontend_cd.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend_cd.yml b/.github/workflows/frontend_cd.yml index 78a66a197..7c853847d 100644 --- a/.github/workflows/frontend_cd.yml +++ b/.github/workflows/frontend_cd.yml @@ -8,7 +8,10 @@ on: jobs: build: - runs-on: self-hosted + runs-on: + - self-hosted + - spring + - ${{ contains(github.ref, 'main') && 'production' || 'develop' }} env: frontend-directory: ./frontend steps: @@ -48,7 +51,10 @@ jobs: deploy: needs: build - runs-on: self-hosted + runs-on: + - self-hosted + - spring + - ${{ contains(github.ref, 'main') && 'production' || 'develop' }} steps: - name: Artifact 폴더 삭제 및 생성 run: |