Skip to content

Commit fd6f9da

Browse files
committed
[FIX] CI 환경변수 설정
1 parent b19ef1f commit fd6f9da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
run: |
3434
docker run -d --name test-container \
3535
-e FIREBASE_SERVICE_ACCOUNT_BASE64="${{ secrets.FIREBASE_SERVICE_ACCOUNT_BASE64 }}" \
36-
${{ secrets.DOCKER_HUB_USERNAME }}/commit-api:latest
36+
${{ secrets.DOCKER_HUB_USERNAME }}/commit-api:latest \
37+
/bin/sh -c "echo \$FIREBASE_SERVICE_ACCOUNT_BASE64 | base64 -d > /app/config/service-account-key.json && node src/index.js"
3738
sleep 5
3839
CONTAINER_STATUS=$(docker inspect -f '{{.State.Running}}' test-container)
3940
docker logs test-container

0 commit comments

Comments
 (0)