Skip to content

Commit

Permalink
Make sure to generate docs for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredsburrows authored Oct 26, 2024
1 parent 1cecf9a commit b08a6aa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b08a6aa

Please sign in to comment.