From f373f150a3f7c431656d69ad1ba2e7d21b520687 Mon Sep 17 00:00:00 2001 From: SimonThormeyer Date: Mon, 20 Jan 2025 16:33:11 +0100 Subject: [PATCH] docs: fix github pages deployment The github pages deployment was presumably broken because the upload-artifact action had a "merge multple" policy where the rust docs were overwriting the uploaded kotlin and typescript docs. This renames the rust doc artifact and uploads it first so that it doesn't overwrite the kotlin and typescript docs anymore. --- .github/workflows/docs.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7c5656aee8..105a0bb85b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/upload-artifact@v4.5.0 with: - name: rustdoc + name: rustdocs path: target/doc retention-days: 1 overwrite: true @@ -117,12 +117,19 @@ jobs: - ktdoc steps: + - uses: actions/download-artifact@v4.1.8 + with: + pattern: "rustdocs" + path: target/doc + merge-multiple: true + - uses: actions/download-artifact@v4.1.8 with: pattern: "*doc" path: target/doc merge-multiple: true + - name: deploy docs uses: peaceiris/actions-gh-pages@v4 with: