beta: rpc-docs set github token (#9609)

This commit is contained in:
gabriel klawitter 2018-09-20 16:19:42 +02:00 committed by Denis S. Soldatov aka General-Beck
parent cb09330cb3
commit a5dcaf7d21

View File

@ -29,6 +29,10 @@ setup_git() {
git config user.name "Devops Parity"
}
set_remote_wiki() {
git config remote.origin.url "https://${GITHUB_TOKEN}@github.com/paritytech/wiki.git"
}
commit_files() {
echo "__________Commit files__________"
git checkout -b rpcdoc-update-${CI_COMMIT_REF_NAME}
@ -53,5 +57,6 @@ build_docs
cd ..
update_wiki_docs
cd wiki
set_remote_wiki
commit_files
upload_files