Skip to content

Commit 6ea3937

Browse files
committed
fix: doppler 에러 해결
1 parent 9d6e7fb commit 6ea3937

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,27 +116,17 @@ jobs:
116116
working-directory: /
117117
comment: Deploy
118118
command: |
119-
120119
export DOPPLER_TOKEN="${{ secrets.DOPPLER_TOKEN }}"
121120
122121
docker pull ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
123122
124123
docker stop app1 2>/dev/null || true
125124
docker rm app1 2>/dev/null || true
126125
127-
doppler secrets download \
128-
--project waitfair \
129-
--config prd \
130-
--format env-no-quotes \
131-
--no-file \
132-
| docker run -d \
133-
--name app1 \
134-
--restart unless-stopped \
135-
--network common \
136-
-p 8080:8080 \
137-
--env-file /dev/stdin \
138-
ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
126+
doppler secrets download --project waitfair --config prd --format env-no-quotes --no-file | \
127+
docker run -d --name app1 --network common -p 8080:8080 \
128+
--env-file /dev/stdin \
129+
ghcr.io/${{ needs.buildImageAndPush.outputs.owner_lc }}/${{ needs.buildImageAndPush.outputs.image_name }}:latest
139130
140131
unset DOPPLER_TOKEN
141-
142132
docker image prune -f

0 commit comments

Comments
 (0)