all repos — gemini-redirect @ 667e5c9b84d5044f4d923ad1b9ce39b8e2423faf

deploy.sh (view raw)

 1set -e
 2zola build
 3# Forgetting to exclude `.git` has costed me several days worth of work (and over 30 commits).
 4find . -maxdepth 1 -not -name '.' -not -name '.git' -not -name 'public' -exec rm -r {} \;
 5mv public/* .
 6rmdir public/
 7git add .
 8git commit --amend -m "Deploy site"
 9git push --force
10git checkout master