Splitting publish into push and publish

This commit is contained in:
Siina Mashek 2024-02-17 17:59:28 +02:00
parent 29e27d0d89
commit 228f35cb67

View file

@ -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"