Skip to content

Commit

Permalink
fix(workflows): front cd 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HoeSeong123 committed Aug 22, 2024
1 parent c74c0c3 commit 225a08d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/frontend_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down

0 comments on commit 225a08d

Please sign in to comment.