summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2021-06-12 21:00:46 +0200
committeremkael <emkael@tlen.pl>2021-06-12 21:05:32 +0200
commitfe52d49a3a956be94d56102c293666278042ff9b (patch)
tree13168b55d6ee032830044c5320e0bf860e464b12 /Makefile
parentaa80a70ca494f5063c5b19cceb3ea8b0caa31694 (diff)
Re-enabling cronjobs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8f1615f..f5983c9 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@ all: FORCE
pull:
@rsync -e "ssh ${LIGA_SSH_OPTS}" -q --delete --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http
+ @chown www-data:www-data http -R
autocommit: pull
@cd http && git diff --quiet || (date && git add . && git commit -m 'Autocommit' && GIT_SSH_COMMAND="ssh ${LIGA_SSH_OPTS}" git push -q)