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 f373f15
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 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,12 +117,19 @@ jobs:
- ktdoc

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

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


- name: deploy docs
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down

0 comments on commit f373f15

Please sign in to comment.