Skip to content

Commit

Permalink
ci/cd: set variable 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Curry4182 committed Mar 20, 2024
1 parent f814009 commit 948e880
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
echo "No container found running on port $PORT"
fi
set-variable:
set-variable-2:
runs-on: [ self-hosted, loadbalancer-server ]
outputs:
is_blue_env: ${{ steps.check-blue.outputs.is_blue_env }}
Expand All @@ -230,7 +230,7 @@ jobs:

switch-environment:
needs: [ run-docker-image-on-server-1, run-docker-image-on-server-2 ]
runs-on: [ self-hosted, loadbalancer-server, set-variable ]
runs-on: [ self-hosted, loadbalancer-server, set-variable-2 ]
if: >
needs.run-docker-image-on-server-1.outputs.passed == 'true' &&
needs.run-docker-image-on-server-2.outputs.passed == 'true'
Expand Down

0 comments on commit 948e880

Please sign in to comment.