mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
ci: enable build for pre-tags (#4836)
* build for pre-tags * shallow clone rustdocs
This commit is contained in:
committed by
GitHub
parent
07daa525b9
commit
c7a7197f97
@@ -65,6 +65,7 @@ variables:
|
||||
only:
|
||||
- master
|
||||
- /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1
|
||||
- /^pre-v[0-9]+\.[0-9]+-[0-9a-f]+$/
|
||||
- web
|
||||
|
||||
|
||||
@@ -515,7 +516,7 @@ publish-gh-doc:
|
||||
insteadOf = "https://github.com/"
|
||||
EOC
|
||||
- unset GITHUB_TOKEN
|
||||
- git clone https://github.com/substrate-developer-hub/rustdocs.git
|
||||
- git clone --depth 1 https://github.com/substrate-developer-hub/rustdocs.git
|
||||
- rsync -ax --delete ./crate-docs/ ./rustdocs/${CI_COMMIT_REF_NAME}/
|
||||
- cd ./rustdocs; git add .
|
||||
- git commit -m "update rustdoc ${CI_COMMIT_REF_NAME}"
|
||||
|
||||
Reference in New Issue
Block a user