Skip to content

Commit 8808bf1

Browse files
committed
Chore: ci-cd.yml 수정 (Deploy 태그 및 TARGET 인자 전달 처리)
1 parent 3fa3de6 commit 8808bf1

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,10 @@ jobs:
129129
key: ${{ secrets.CD_SSH_KEY }}
130130
port: ${{ secrets.CD_PORT }}
131131
script: |
132-
export DEPLOY_TAG='${{ steps.tag.outputs.value }}'
133132
if [ "${{ github.ref_name }}" = "staging" ]; then
134-
bash -lc '/srv/docsa-stg/infra/deploy.sh'
133+
export DEPLOY_TAG='${{ steps.tag.outputs.value }}'
134+
bash -lc '/srv/docsa/infra/deploy.sh staging'
135135
else
136-
bash -lc '/srv/docsa/infra/deploy.sh'
137-
fi
138-
139-
136+
export DEPLOY_TAG='${{ steps.tag.outputs.value }}'
137+
bash -lc '/srv/docsa/infra/deploy.sh dev'
138+
fi

0 commit comments

Comments
 (0)