deploy: cd to out/ before adding files to git

This commit is contained in:
Lzu Tao 2019-11-30 23:19:13 +07:00
parent e4d09975d0
commit 700f664dcd

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}"