Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

beta: rpc-docs set github token #9609

Merged
merged 1 commit into from
Sep 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions scripts/gitlab/rpc-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -53,5 +57,6 @@ build_docs
cd ..
update_wiki_docs
cd wiki
set_remote_wiki
commit_files
upload_files