From 0f38f6c61232c40856b716dbbf39bc2c34a8416f Mon Sep 17 00:00:00 2001 From: Dario Date: Sat, 9 Mar 2024 10:36:06 +0100 Subject: [PATCH] fix: added .env to webapp --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1da34e37..d61c8c26 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,7 +108,9 @@ jobs: echo "DATABASE_USER=${{ secrets.DATABASE_USER }}" >> .env echo "DATABASE_PASSWORD=${{ secrets.DATABASE_PASSWORD }}" >> .env echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env + cd webapp echo "API_URI=http://${{ secrets.DEPLOY_HOST }}:8080" >> .env + cd ../ sudo docker compose down sudo docker compose pull sudo docker compose --profile prod up -d