Splitting publish into push and publish
This commit is contained in:
parent
29e27d0d89
commit
228f35cb67
1 changed files with 4 additions and 2 deletions
6
Makefile
6
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"
|
||||
|
|
Reference in a new issue