all repos — gemini-redirect @ 7938b7aa0a8aaa03460a4a09ce2ffc11c253d90b

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