Try fixing doc deploy again (#173)

This commit is contained in:
Carl Lerche 2019-02-28 14:25:41 -08:00 committed by GitHub
parent cb67f5d6c3
commit 8bb8c2d48e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -21,13 +21,13 @@ jobs:
- script: |
set -e
git --version
ls -la
git init
git config user.name 'Deployment Bot (from Azure Pipelines)'
git config user.email 'deploy@tower-rs.com'
echo 'machine github.com' > ~/.netrc
echo 'login carllerche' >> ~/.netrc
echo 'password $(GITHUB_TOKEN)' >> ~/.netrc
git config --global credential.helper 'store --file ~/.my-credentials'
printf "protocol=https\nhost=github.com\nusername=carllerche\npassword=%s\n\n" "$GITHUB_TOKEN" | git credential-store --file ~/.my-credentials store
git remote add origin https://github.com/tower-rs/tower
git checkout -b gh-pages
git add .