diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 7e2d351..8d63cda 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -46,6 +46,13 @@ jobs: - run: cd docs && npm ci - run: cd docs && npm run build + - name: Find and Replace + uses: jacobtomlinson/gha-find-replace@v3 + with: + find: "ollama4j-revision" + replace: ${{ github.ref_name }} + regex: false + - name: Build with Maven run: mvn --file pom.xml -U clean package && cp -r ./target/apidocs/. ./docs/build/apidocs