Skip to content

Commit

Permalink
[ci] fix publish-rustdocs (paritytech#10858)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvicsam authored Feb 15, 2022
1 parent fd2c397 commit b359b49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit b359b49

Please sign in to comment.