Splitting publish into push and publish
This commit is contained in:
parent
29e27d0d89
commit
228f35cb67
6
Makefile
6
Makefile
|
@ -1,10 +1,12 @@
|
||||||
all: write publish
|
all: write push publish
|
||||||
|
|
||||||
write:
|
write:
|
||||||
./noter/writer.sh public
|
./noter/writer.sh public
|
||||||
|
|
||||||
publish:
|
push:
|
||||||
git add public
|
git add public
|
||||||
git commit -m "Updating site via make at $$(date --iso=seconds)"
|
git commit -m "Updating site via make at $$(date --iso=seconds)"
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
publish:
|
||||||
ssh siina.monster "cd /var/www/siina.monster && git pull"
|
ssh siina.monster "cd /var/www/siina.monster && git pull"
|
||||||
|
|
Loading…
Reference in New Issue