we screw up sometimes but they're usually fun stories https://blog.redbrick.dcu.ie/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
366 B

  1. .PHONY: build clean deploy update-theme
  2. setup:
  3. git submodule init
  4. git submodule sync
  5. git submodule update
  6. clean:
  7. rm -rf public resources
  8. build:
  9. hugo
  10. deploy: clean build
  11. # This Should be run from a server on redbrick
  12. chown -R webgroup:webgroup public
  13. rsync -avh public/* /webtree/vhosts/blog.redbrick.dcu.ie
  14. update-theme:
  15. git submodule foreach git pull