Skip to content

Commit

Permalink
ci: add Generate docs step
Browse files Browse the repository at this point in the history
  • Loading branch information
hoc081098 committed Jun 4, 2022
1 parent da78934 commit 8d39aed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ jobs:
# ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.MAVEN_SIGNING_PRIVATE_KEY }}
# ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.MAVEN_SIGNING_PASSWORD }}

- name: Generate docs
run: ./gradlew dokkaHtml --no-parallel --stacktrace

- name: Deploy docs 🚀 to website
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'hoc081098/FlowExt' && matrix.os == 'macos-11' }}
uses: JamesIves/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ jobs:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }}

- name: Generate docs
run: ./gradlew dokkaHtml --no-parallel --stacktrace

- name: Deploy docs 🚀 to website
if: ${{ matrix.os == 'macos-11' }}
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 8d39aed

Please sign in to comment.