Skip to content

Commit

Permalink
fix: new APP_DOMAIN secret
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Apr 26, 2024
1 parent 0184c39 commit 5b57636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5b57636

Please sign in to comment.