Fix deploy script
Lonami Exo totufals@hotmail.com
Sat, 06 Feb 2021 23:13:26 +0100
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
deploy.sh
→
deploy.sh
@@ -1,8 +1,10 @@
set -e zola build +git checkout gh-pages # Forgetting to exclude `.git` has costed me several days worth of work (and over 30 commits). find . -maxdepth 1 -not -name '.' -not -name '.git' -not -name 'public' -exec rm -r {} \; mv public/* . +echo "lonami.dev" > CNAME rmdir public/ git add . git commit --amend -m "Deploy site"