blog/deploy.sh
2022-07-21 17:40:27 +02:00

10 lines
No EOL
154 B
Bash
Executable file

#!/usr/bin/env bash
git stash
git checkout gh-pages
hugo -D
git add ./public
git commit -m "deploy"
git push origin gh-pages
git checkout -
git stash pop