Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rust docs deploy #2615

Merged
merged 3 commits into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions .github/workflows/reusable_deploy_docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Reusable Deploy Docs'
name: "Reusable Deploy Docs"

on:
workflow_call:
Expand Down Expand Up @@ -33,8 +33,7 @@ env:
RUSTC_WRAPPER: "sccache"

jobs:

# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------

py-deploy-docs:
name: Python
Expand Down Expand Up @@ -90,8 +89,7 @@ jobs:
git commit -m "Update docs for ${GITHUB_SHA}"
git push origin gh-pages-orphan:gh-pages -f


# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------

rs-deploy-docs:
name: Rust
Expand Down Expand Up @@ -129,6 +127,9 @@ jobs:
- name: Run sccache-cache
uses: mozilla-actions/[email protected]

- name: Delete existing /target/doc
run: rm -rf ./target/doc

- name: cargo doc --document-private-items
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -156,3 +157,4 @@ jobs:
run: |
git fetch
python3 -m ghp_import -n -p -x docs/rust/head target/doc/ -m "Update the rust docs"