mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 15:21:08 +00:00
[ci] fix publish-rustdocs (#10858)
This commit is contained in:
committed by
GitHub
parent
43c3e709f9
commit
4519145df5
@@ -756,7 +756,8 @@ publish-rustdoc:
|
||||
# Save README and docs
|
||||
- cp -r ./crate-docs/ /tmp/doc/
|
||||
- cp README.md /tmp/doc/
|
||||
- git checkout gh-pages
|
||||
# we don't need to commit changes because we copy docs to /tmp
|
||||
- git checkout gh-pages --force
|
||||
# Install `index-tpl-crud` and generate index.html based on RUSTDOCS_DEPLOY_REFS
|
||||
- which index-tpl-crud &> /dev/null || yarn global add @substrate/index-tpl-crud
|
||||
- index-tpl-crud upsert ./index.html ${CI_COMMIT_REF_NAME}
|
||||
|
||||
Reference in New Issue
Block a user