diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3f332a70..8e4408fc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -64,7 +64,7 @@ jobs: - id: env-file run: | echo "file=$ENV_FILE" >> "$GITHUB_OUTPUT" - echo 'DATABASE_URL=postgres://testdb:keepitsecret@postgres:5432/testdb' >> "$ENV_FILE" + echo 'DATABASE_URL=postgres://testdb:keepitsecret@localhost:5432/testdb' >> "$ENV_FILE" echo 'LOG_LEVEL=debug' >> "$ENV_FILE" echo 'NODE_ENV=docker' >> "$ENV_FILE" env: @@ -75,6 +75,7 @@ jobs: --detach \ --env-file ${{ steps.env-file.outputs.file }} \ --init \ + --network 'host' \ --publish 4321:80 \ textbook/starter-kit:v2)" >> $GITHUB_OUTPUT - run: npm run e2e