From 72988d8885cea04edede3d65d09ec876ac7f512e Mon Sep 17 00:00:00 2001 From: Jared Burrows Date: Sat, 26 Oct 2024 14:55:33 -0400 Subject: [PATCH] Make sure to generate docs for github pages --- .github/workflows/build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aaa50607..07dc2868 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -101,3 +101,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-license-plugin/build/dokka/html + user_name: "Github Actions" + user_email: "action@github.com"