]>
Witch of Git - web/blog/blob - publish.sh
3 if output
=$(git status --porcelain) && [ -n "$output" ]; then
4 echo "Working directory not clean. Stash or commit your changes."
9 if ! eleventy
--output=$dir; then
14 starting_branch
=$(git symbolic-ref --short HEAD)
18 echo "blog.witchoflight.com" > docs
/CNAME
20 git commit
-m "Publish"
21 git checkout
"$starting_branch"
22 echo "Committed. Run: git push $(git remote) master:master"
This page took 0.067569 seconds and 5 git commands to generate.