Skip to content

Commit

Permalink
fix: 배포 workflow 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrevile committed Jul 6, 2024
1 parent 9b53329 commit b43c5f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-integration.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Push branch & deploy On remote repository only for Vercel
name: Push branch & deploy

on:
workflow_call:
Expand All @@ -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}}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Deploy

on:
workflow_dispatch:
inputs:
Expand Down

0 comments on commit b43c5f4

Please sign in to comment.