we screw up sometimes but they're usually fun stories
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
451 B

  1. .PHONY: build clean deploy update-theme
  2. clean:
  3. rm -rf public resources
  4. build:
  5. hugo
  6. deploy: clean build
  7. # This Should be run from a server on redbrick
  8. chmod 755 public/* public/**/* public/**/**/*
  9. chmod 644 public/*.{css,xml,ico,js,json,html,webp} public/**/*.{css,xml,ico,js,json,html,webp} public/**/**/*.{css,xml,ico,js,json,html,webp}
  10. rsync -avh public/* /webtree/vhosts/blog.redbrick.dcu.ie
  11. update-theme:
  12. git submodule foreach git pull