Skip to content

Commit

Permalink
fix: workflow ์ˆ˜์ • (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrevile authored Jul 8, 2024
1 parent 1405d67 commit b8f12c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ jobs:
name: set the target STAGE
runs-on: ubuntu-latest
outputs:
DESTINATION_REPOSITORY: ${{inputs.stage == 'production' && env.PRODUCTION_REPOSITORY && env.DEVELOP_REPOSITORY}}
DESTINATION_REPOSITORY: ${{inputs.stage == 'production' && env.PRODUCTION_REPOSITORY || env.DEVELOP_REPOSITORY}}
steps:
- name: get variables
run: echo "$DESTINATION_REPOSITORY"
run: echo "$DESTINATION_REPOSITORY" |
echo "${{inputs.STAGE}}"

build:
needs: variable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
description: ๋ฐฐํฌ ์œ ํ˜• (production,devleop)
type: choice
options:
- develop
- production
- develop

run-name: '${{inputs.user_name}} runs workflow for ${{inputs.stage_choice}} deploy'

Expand Down

0 comments on commit b8f12c4

Please sign in to comment.