]> git.lizzy.rs Git - rust.git/commitdiff
deploy: cd to out/ before adding files to git
authorLzu Tao <taolzu@gmail.com>
Sat, 30 Nov 2019 16:19:13 +0000 (23:19 +0700)
committerLzu Tao <taolzu@gmail.com>
Sat, 30 Nov 2019 16:19:13 +0000 (23:19 +0700)
.github/deploy.sh

index efba51b20cc32400eed8f4f9b3843bb01e4b7cc1..19dc4017166c72413927de06f085ac0378345240 100755 (executable)
@@ -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}"