diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 552bc62..968ff32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -133,3 +133,14 @@ jobs: ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }} ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }} + + - name: Generate Docs + run: ./gradlew dokkaHtml + + - name: Publish Website + uses: peaceiris/actions-gh-pages@v4.0.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: gradle-spoon-plugin/build/dokka/html + user_name: "Github Actions" + user_email: "action@github.com"