www

website
got clone ssh://anon@src.dalliard.ch/www
log | files | refs

makefile (310B)


      1 deploy: build sync
      2 
      3 build:
      4 	@hugo --minify --cleanDestinationDir >/dev/null
      5 	@find public -type f \( -name '*.html' -o -name '*.xml' -o -name '*.txt' \) -exec gzip -9k {} \;
      6 
      7 sync:
      8 	@openrsync --rsync-path=openrsync -rt --del public/ s1:/var/www/www/
      9 
     10 serve:
     11 	@hugo server -F --buildDrafts --navigateToChanged