Skip to content

Commit

Permalink
Fixes GitHub Pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomd committed Jan 16, 2024
1 parent 4f62fef commit 8f20a48
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 8f20a48

Please sign in to comment.