From 8f20a4802482f7df750af0bdac19a3869a8663c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20M=C3=BCller-Downing?= Date: Tue, 16 Jan 2024 12:19:35 +1100 Subject: [PATCH] Fixes GitHub Pages deployment --- .github/workflows/Documentation.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index 5fc7ef0..6b841ed 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -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