Skip to content

Commit

Permalink
docs: fix github pages deployment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
SimonThormeyer committed Jan 20, 2025
1 parent 14844be commit 0aac074
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- uses: actions/[email protected]
with:
name: rustdoc
name: rustdocs
path: target/doc
retention-days: 1
overwrite: true
Expand Down Expand Up @@ -117,6 +117,12 @@ jobs:
- ktdoc

steps:
- uses: actions/[email protected]
with:
pattern: "rustdocs"
path: target/doc
merge-multiple: true

- uses: actions/[email protected]
with:
pattern: "*doc"
Expand Down

0 comments on commit 0aac074

Please sign in to comment.