Skip to content

Commit

Permalink
fix: added env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Mar 9, 2024
1 parent 393e8df commit 0dd7157
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:
key: ${{ secrets.DEPLOY_KEY }}
command: |
wget https://github.com/Arquisoft/wiq_en2b/tree/fix/actions/docker-compose.yml -O docker-compose.yml
wget https://raw.githubusercontent.com/arquisoft/wiq_en2b/master/.env
wget https://raw.githubusercontent.com/arquisoft/wiq_en2b/master/.env -O .env
echo "DATABASE_USER=${{ secrets.DATABASE_USER }}" >> .env
echo "DATABASE_PASSWORD=${{ secrets.DATABASE_PASSWORD }}" >> .env
echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env
echo "API_URI=http://${{ secrets.DEPLOY_HOST }}:8080" >> .env
docker compose down
docker compose --profile prod up -d

0 comments on commit 0dd7157

Please sign in to comment.