diff --git a/.github/workflows/build-on-pull-request.yml b/.github/workflows/build-on-pull-request.yml index 430e3ec..758078d 100644 --- a/.github/workflows/build-on-pull-request.yml +++ b/.github/workflows/build-on-pull-request.yml @@ -20,6 +20,10 @@ jobs: permissions: contents: read + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: - uses: actions/checkout@v5 - name: Set up JDK 21 @@ -39,8 +43,6 @@ jobs: uses: ./.github/workflows/run-tests.yml with: branch: ${{ github.head_ref || github.ref_name }} - env: - USE_EXTERNAL_OLLAMA_HOST: "false" build-docs: name: Build Documentation diff --git a/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java b/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java index b60d6df..8eaf3fb 100644 --- a/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java +++ b/src/test/java/io/github/ollama4j/integrationtests/OllamaAPIIntegrationTest.java @@ -106,7 +106,7 @@ class OllamaAPIIntegrationTest { } if (useExternalOllamaHost) { - LOG.info("Using external Ollama host..."); + LOG.info("Using external Ollama host: {}", ollamaHost); api = new OllamaAPI(ollamaHost); } else { throw new RuntimeException(