From 5b5763632223e43548b331672083ded55e2e168d Mon Sep 17 00:00:00 2001 From: Dario Date: Fri, 26 Apr 2024 18:16:41 +0200 Subject: [PATCH] fix: new APP_DOMAIN secret --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 03069497..ea903eb0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,12 +115,12 @@ jobs: - uses: actions/checkout@v4 - name: Create .env file - run: echo "REACT_APP_API_ENDPOINT=https://kiwiq.run.place:8443" > webapp/.env + run: echo "REACT_APP_API_ENDPOINT=https://${{secrets.APP_DOMAIN}}:8443" > webapp/.env - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 env: - REACT_APP_API_ENDPOINT: https://kiwiq.run.place:8443 + REACT_APP_API_ENDPOINT: https://${{secrets.APP_DOMAIN}}:8443 teamname: wiq_en2b with: name: arquisoft/wiq_en2b/webapp @@ -171,7 +171,7 @@ jobs: echo "DATABASE_USER=${{ secrets.DATABASE_USER }}" >> .env echo "DATABASE_PASSWORD=${{ secrets.DATABASE_PASSWORD }}" >> .env echo "JWT_SECRET=${{ secrets.JWT_SECRET }}" >> .env - echo "API_URI=https://${{ secrets.DEPLOY_HOST }}:8443" >> .env + echo "API_URI=https://${{ secrets.APP_DOMAIN }}:8443" >> .env echo "SSL_PASSWORD=${{ secrets.SSL_PASSWORD }}" >> .env docker compose --profile prod down docker compose --profile prod up -d --pull always