diff --git a/.github/workflows/publish-javadoc-gradle.yml b/.github/workflows/publish-javadoc-gradle.yml index 9f568c6..89a1a4d 100644 --- a/.github/workflows/publish-javadoc-gradle.yml +++ b/.github/workflows/publish-javadoc-gradle.yml @@ -8,12 +8,14 @@ on: 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@v2.4.0 + uses: MathieuSoysal/Javadoc-publisher.yml@v2.5.0 with: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} javadoc-branch: javadoc java-version: 17 - target-folder: docs - project: gradle \ No newline at end of file + target-folder: docs # url will be https://.github.io//docs + project: gradle