summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-10-11 14:12:55 +0200
committeremkael <emkael@tlen.pl>2016-10-11 14:12:55 +0200
commit6db9dcfe9c218d7f507f337b72c59bfdf0ff7bd4 (patch)
tree69d73a3c4aee427169c3800be7b4d5b3d97076a2 /Makefile
parent251f41fb5fbd3107ac7316d8ec98a343d4dae11a (diff)
* deploy script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c033d00..a020efc 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,7 @@ clean: devel
rm -rf static
deploy: build
- git --git-dir=/srv/websites/github.emkael.info/static commit -a -m "$m"
- git --git-dir=/srv/websites/github.emkael.info/static push
+ git submodule foreach "git add . && git commit -a -m \"$m\" && git push"
# rsync --delete -urPz static/ root@jaom.pl:/var/www/festiwal.brydzystow.pl/web
# ssh root@jaom.pl 'chown web54:client1 /var/www/festiwal.brydzystow.pl/web -R'
# rsync 3.1.0+ only: