Makefile 258 B

1234567891011
  1. PHONY: server build deploy
  2. server:
  3. hugo server --baseURL="http://pleasantprogrammer.com" --appendPort=false --buildDrafts
  4. build:
  5. hugo
  6. deploy: build
  7. git commit-tree -p master -m "updated" source:output | xargs git update-ref refs/heads/master
  8. git push