diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 0bee33df..94cd9524 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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 \ No newline at end of file diff --git a/webapp/e2e/docker-compose.yml b/webapp/e2e/docker-compose.yml index 3fb1c0d2..afb93a26 100644 --- a/webapp/e2e/docker-compose.yml +++ b/webapp/e2e/docker-compose.yml @@ -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: