Auto merge of #4868 - lzutao:deploy-in-dir, r=phansch

deploy: cd to out/ before adding files to git

It should work now: https://travis-ci.com/lzutao/rust-clippy/jobs/261801929
Closes #4785
changelog: none
This commit is contained in:
bors 2019-11-30 19:15:08 +00:00
commit b561b6c6e8

1
.github/deploy.sh vendored
View File

@ -73,6 +73,7 @@ chmod 600 .github/deploy_key
eval "$(ssh-agent -s)"
ssh-add .github/deploy_key
cd out
git add .
git commit -m "Automatic deploy to GitHub Pages: ${SHA}"