We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b19ef1f commit fd6f9daCopy full SHA for fd6f9da
.github/workflows/ci.yml
@@ -33,7 +33,8 @@ jobs:
33
run: |
34
docker run -d --name test-container \
35
-e FIREBASE_SERVICE_ACCOUNT_BASE64="${{ secrets.FIREBASE_SERVICE_ACCOUNT_BASE64 }}" \
36
- ${{ secrets.DOCKER_HUB_USERNAME }}/commit-api:latest
+ ${{ 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"
38
sleep 5
39
CONTAINER_STATUS=$(docker inspect -f '{{.State.Running}}' test-container)
40
docker logs test-container
0 commit comments