Skip to content

Commit

Permalink
update documentation task
Browse files Browse the repository at this point in the history
  • Loading branch information
Synesso committed Mar 26, 2024
1 parent 3054503 commit 275d246
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,21 @@ permissions:
id-token: write

jobs:
publish-documentation:
# Build job
build-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build html
run: bin/gradle dokkaHtml --no-daemon --stacktrace
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1.0.7
uses: actions/upload-pages-artifact@v2
with:
path: lib/build/dokka/html
# Publish job
publish-documentation:
needs: build-documentation
runs-on: ubuntu-latest
steps:
- name: Deploy GitHub Pages site
uses: actions/deploy-pages@v2.0.0
uses: actions/deploy-pages@v3

0 comments on commit 275d246

Please sign in to comment.