Skip to content

Commit

Permalink
test: 환경변수 주입 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondanythings committed Jul 5, 2024
1 parent e24dcd3 commit bf1f9ba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci-cd-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,10 @@ jobs:
- name: Setup Env
id: set-env
run: |
if [[ "${GITHUB_REF}" == "refs/heads/develop" ]]; then
echo "DEPLOY_TARGET=development" >> $GITHUB_OUTPUT
elif [[ "${GITHUB_REF}" == "refs/heads/main" ]]; then
if [[ "${GITHUB_REF}" == "refs/heads/main" ]]; then
echo "DEPLOY_TARGET=production" >> $GITHUB_OUTPUT
else
echo "DEPLOY_TARGET is not set. Exiting..."
exit 1
echo "DEPLOY_TARGET=development" >> $GITHUB_OUTPUT
fi
build:
Expand Down

0 comments on commit bf1f9ba

Please sign in to comment.