Skip to content

Commit

Permalink
fix: added react api endpoint
Browse files Browse the repository at this point in the history
Co-authored-by: Gonzalo Suarez Losada <[email protected]>
Co-authored-by: Jorge Gancedo <[email protected]>
  • Loading branch information
Toto-hitori committed Apr 30, 2024
1 parent a271b5d commit 9c5b317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ 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.APP_DOMAIN }}:8443" >> .env
echo "REACT_APP_API_ENDPOINT=https://localhost:8443" >> ./webapp/.env
echo "SSL_PASSWORD=${{ secrets.E2E_SSL_PASSWORD }}" >> .env
- run: docker compose -f ./webapp/e2e/docker-compose.yml up -d
- run: npm --prefix webapp install
- run: npm --prefix webapp run build
#- run: npm --prefix webapp run build
- run: npm --prefix webapp run test:e2e
12 changes: 0 additions & 12 deletions webapp/e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,6 @@
depends_on:
- WIQ_DB

webapp:
container_name: webapp-${teamname:-defaultASW}
build:
args:
REACT_APP_API_ENDPOINT: ${API_URI}
context: ../../webapp
dockerfile: Dockerfile
environment:
- REACT_APP_API_ENDPOINT=${API_URI}
networks:
mynetwork:

volumes:
postgres_data:
certs:
Expand Down

0 comments on commit 9c5b317

Please sign in to comment.