diff --git a/Makefile b/Makefile index 926ab95..4704446 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ -all: write publish +all: write push publish write: ./noter/writer.sh public -publish: +push: git add public git commit -m "Updating site via make at $$(date --iso=seconds)" git push + +publish: ssh siina.monster "cd /var/www/siina.monster && git pull"