Skip to content

Commit b95db84

Browse files
committed
fix: 도플러 토큰 주입 변경
1 parent ad6c1c9 commit b95db84

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,18 @@ jobs:
116116
working-directory: /
117117
comment: Deploy
118118
command: |
119-
DOPPLER_TOKEN="${{ secrets.DOPPLER_TOKEN }}"
119+
/usr/bin/doppler secrets download \
120+
--project waitfair \
121+
--config prd \
122+
--format env-no-quotes \
123+
--no-file \
124+
--token="${{ secrets.DOPPLER_TOKEN }}" > /tmp/doppler.env
120125
121126
docker pull ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
122127
123128
docker stop app1 2>/dev/null || true
124129
docker rm app1 2>/dev/null || true
125-
126-
/usr/bin/doppler secrets download --project waitfair --config prd --format env-no-quotes --no-file --token="$DOPPLER_TOKEN" > /tmp/doppler.env
127-
130+
128131
docker run -d \
129132
--name app1 \
130133
--network common \

0 commit comments

Comments
 (0)