Skip to content

Commit

Permalink
ci: fix rustdoc workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMemories authored and kaspar030 committed Apr 9, 2024
1 parent 4d5d1da commit 3ab65c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
toolchain: ${{ steps.get_toolchain.outputs.toolchain }}

- name: Build rustdoc docs
run:
- cargo rustdoc -p riot-rs --features no-boards,bench -- -D warnings
- echo "<meta http-equiv=\"refresh\" content=\"0; url=riot_rs\">" > target/doc/index.html
- mkdir -p ./dev/docs/api && mv target/doc/* ./dev/docs/api
run: |
cargo rustdoc -p riot-rs --features no-boards,bench -- -D warnings
echo "<meta http-equiv=\"refresh\" content=\"0; url=riot_rs\">" > target/doc/index.html
mkdir -p ./dev/docs/api && mv target/doc/* ./dev/docs/api
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 3ab65c8

Please sign in to comment.