Skip to content

Commit

Permalink
fix: API URI
Browse files Browse the repository at this point in the history
  • Loading branch information
Toto-hitori committed Mar 8, 2024
1 parent fe8fa2f commit 2a743d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
env:
API_URI: http://${{ secrets.DEPLOY_HOST }}:8000
API_URI: ${{ secrets.DEPLOY_HOST }}
teamname: wiq_en2b
with:
name: arquisoft/wiq_en2b/webapp
Expand All @@ -94,6 +94,7 @@ jobs:
- name: Deploy over SSH
uses: fifsky/ssh-action@master
env:
API_URI: ${{ secrets.DEPLOY_HOST }}
DATABASE_USER: ${{ secrets.DATABASE_USER }}
DATABASE_PASSWORD: ${{ secrets.DATABASE_PASSWORD }}
JWT_SECRET: ${{ secrets.JWT_SECRET }}
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
build:
context: ./webapp
args:
API_URI: http://${ secrets.DEPLOY_HOST }:8080
API_URI: http://${API_URI}:8080
networks:
- mynetwork
ports:
Expand Down

0 comments on commit 2a743d1

Please sign in to comment.