master: rpc-docs set github token (#9610)
This commit is contained in:
parent
403c07c305
commit
93e1040d07
@ -29,6 +29,10 @@ setup_git() {
|
|||||||
git config user.name "Devops Parity"
|
git config user.name "Devops Parity"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_remote_wiki() {
|
||||||
|
git config remote.origin.url "https://${GITHUB_TOKEN}@github.com/paritytech/wiki.git"
|
||||||
|
}
|
||||||
|
|
||||||
commit_files() {
|
commit_files() {
|
||||||
echo "__________Commit files__________"
|
echo "__________Commit files__________"
|
||||||
git checkout -b rpcdoc-update-${CI_COMMIT_REF_NAME}
|
git checkout -b rpcdoc-update-${CI_COMMIT_REF_NAME}
|
||||||
@ -54,5 +58,6 @@ build_docs
|
|||||||
cd ..
|
cd ..
|
||||||
update_wiki_docs
|
update_wiki_docs
|
||||||
cd wiki
|
cd wiki
|
||||||
|
set_remote_wiki
|
||||||
commit_files
|
commit_files
|
||||||
upload_files
|
upload_files
|
||||||
|
Loading…
Reference in New Issue
Block a user