diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc01bf0..89e3315 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,25 +23,6 @@ jobs: server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - - name: Add release version to GITHUB_ENV - id: get-version - run: | - V=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout | tr -d '\n\r\t ') - echo "version=$V" >> $GITHUB_ENV - - name: Run javadoc - run: ./scripts/javadoc.sh - - name: Deploy Javadoc to GH pages (latest dir) - uses: peaceiris/actions-gh-pages@v4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./target/javadoc-out - destination_dir: docs/latest - - name: Deploy Javadoc to GH pages (release dir) - uses: peaceiris/actions-gh-pages@v4 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./target/javadoc-out - destination_dir: docs/${{ env.version }} - name: Publish package run: mvn --batch-mode -Dsource=1.8 -Dtarget=1.8 -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 deploy env: diff --git a/README.md b/README.md index e19995e..4fe0450 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ [![test](https://github.com/factorhouse/kpow-streams-agent/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/factorhouse/kpow-streams-agent/actions/workflows/test.yml) -[![Maven Central](https://img.shields.io/maven-central/v/io.operatr/kpow-streams-agent.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.operatr%22%20AND%20a:%22kpow-streams-agent%22) +[![Maven Central](https://img.shields.io/maven-central/v/io.operatr/kpow-streams-agent.svg?label=Maven%20Central)](https://central.sonatype.com/artifact/io.factorhouse/kpow-streams-agent) +[![javadoc](https://javadoc.io/badge2/io.factorhouse/kpow-streams-agent/javadoc.svg)](https://javadoc.io/doc/io.factorhouse/kpow-streams-agent) + # Kpow Streams Agent