Skip to content

publish test 1

publish test 1 #5

Workflow file for this run

name: CD
on:
push:
tags:
- 'v*.*.*' # Enforce Semantic Versioning
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Publish package
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}
MAVEN_GPG_KEY: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }}
- name: Debug directory
run: pwd
- name: Debug directory2
run: ls -a
- name: Deploy Documentation
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/apidocs