ART2a-Clustering-for-Java v2.0.0 #14
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Javadoc | |
| #Note: The Javadoc-publisher action only commits to javadoc branch and triggers the GitHub pages update action if there | |
| # are changes in the JavaDoc, i.e. it ignores the Readme.md that is used as main landing page of the GitHub pages! | |
| # And these need to be merged into the javadoc branch. | |
| on: | |
| release: | |
| types: [published] #alternatives: released, published, created | |
| #push: | |
| #branches: | |
| #- main | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow. | |
| steps: | |
| - name: Deploy JavaDoc 🚀 | |
| uses: MathieuSoysal/Javadoc-publisher.yml@v3.0.2 | |
| with: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| javadoc-branch: javadoc | |
| java-version: 17 | |
| target-folder: javadoc/2.0.0 | |
| project: gradle |