Try fixing doc deploy again (#173)
This commit is contained in:
parent
cb67f5d6c3
commit
8bb8c2d48e
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue