From 93e1040d07e385d1219d00af71c46c720b0a1acf Mon Sep 17 00:00:00 2001 From: gabriel klawitter Date: Fri, 21 Sep 2018 13:02:15 +0200 Subject: [PATCH] master: rpc-docs set github token (#9610) --- scripts/gitlab/rpc-docs.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/gitlab/rpc-docs.sh b/scripts/gitlab/rpc-docs.sh index cb2a00278..3c00fe4ea 100755 --- a/scripts/gitlab/rpc-docs.sh +++ b/scripts/gitlab/rpc-docs.sh @@ -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} @@ -54,5 +58,6 @@ build_docs cd .. update_wiki_docs cd wiki +set_remote_wiki commit_files upload_files