Skip to content

Commit 5b4aa72

Browse files
committed
fix: doppler token 에러 해결
1 parent 868d7fc commit 5b4aa72

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ jobs:
116116
working-directory: /
117117
comment: Deploy
118118
command: |
119-
export DOPPLER_TOKEN="${{ secrets.DOPPLER_TOKEN }}"
119+
cat << 'SCRIPT_END' | DOPPLER_TOKEN='${{ secrets.DOPPLER_TOKEN }}' bash
120+
set -e
120121
121122
docker pull ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
122123
@@ -133,5 +134,5 @@ jobs:
133134
ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
134135
135136
rm -f /tmp/doppler.env
136-
unset DOPPLER_TOKEN
137-
docker image prune -f
137+
docker image prune -f
138+
SCRIPT_END

0 commit comments

Comments
 (0)