ci: publish docs debug (#10638) (#10660)

This commit is contained in:
Talha Cross 2019-05-14 14:04:54 +02:00 committed by GitHub
parent e0141f8324
commit c2487cfe07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -260,3 +260,4 @@ publish-docs:
- scripts/gitlab/publish-docs.sh
tags:
- linux-docker
allow_failure: true

View File

@ -51,8 +51,11 @@ commit_files() {
upload_files() {
echo "__________Upload files__________"
git push -q origin HEAD
git push -q -f --tags
# this version of git (2.7.4) will dump the token on failure
git push -q origin HEAD 2>&1 \
| sed -r "s|(${GITHUB_USER}):[a-f0-9]+@|\1:REDACTED@|g"
git push -q -f --tags 2>&1 \
| sed -r "s|(${GITHUB_USER}):[a-f0-9]+@|\1:REDACTED@|g"
}
RPC_TRAITS_DIR="rpc/src/v1/traits"