Skip to content

Commit

Permalink
copy secrets.json to local folder for it to be propagated to docker i…
Browse files Browse the repository at this point in the history
…mage

Signed-off-by: Jack Luar <[email protected]>
  • Loading branch information
luarss committed Oct 29, 2024
1 parent 467dfb7 commit bbd992e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
run: |
cp backend/.env.example backend/.env
sed -i 's|{{GOOGLE_API_KEY}}|${{ secrets.GOOGLE_API_KEY }}|g' backend/.env
sed -i 's|{{PATH_TO_GOOGLE_APPLICATION_CREDENTIALS}}|${{ secrets.PATH_TO_GOOGLE_APPLICATION_CREDENTIALS }}|g' backend/.env
cp backend/.env .env
sed -i 's|{{PATH_TO_GOOGLE_APPLICATION_CREDENTIALS}}|src/secret.json|g' backend/.env
cp ${{ secrets.PATH_TO_GOOGLE_APPLICATION_CREDENTIALS }} backend/src
- name: Build Docker image
run: |
make docker
Expand Down

0 comments on commit bbd992e

Please sign in to comment.