Try fixing doc deploy again (#173)
This commit is contained in:
parent
cb67f5d6c3
commit
8bb8c2d48e
|
@ -21,13 +21,13 @@ jobs:
|
||||||
- script: |
|
- script: |
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
git --version
|
||||||
ls -la
|
ls -la
|
||||||
git init
|
git init
|
||||||
git config user.name 'Deployment Bot (from Azure Pipelines)'
|
git config user.name 'Deployment Bot (from Azure Pipelines)'
|
||||||
git config user.email 'deploy@tower-rs.com'
|
git config user.email 'deploy@tower-rs.com'
|
||||||
echo 'machine github.com' > ~/.netrc
|
git config --global credential.helper 'store --file ~/.my-credentials'
|
||||||
echo 'login carllerche' >> ~/.netrc
|
printf "protocol=https\nhost=github.com\nusername=carllerche\npassword=%s\n\n" "$GITHUB_TOKEN" | git credential-store --file ~/.my-credentials store
|
||||||
echo 'password $(GITHUB_TOKEN)' >> ~/.netrc
|
|
||||||
git remote add origin https://github.com/tower-rs/tower
|
git remote add origin https://github.com/tower-rs/tower
|
||||||
git checkout -b gh-pages
|
git checkout -b gh-pages
|
||||||
git add .
|
git add .
|
||||||
|
|
Loading…
Reference in New Issue