summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2020-10-17 13:13:50 +0200
committeremkael <emkael@tlen.pl>2020-10-17 13:13:50 +0200
commit443b328c785734c4ab7736a853b31fcf0c766f6f (patch)
treea6ab5b6ba02ccf5787c7f8b9abcbb37b077c0345 /Makefile
parente350f8583baafb8fbf89cf2843d84ca5d95cc736 (diff)
rsync/git push configuration for non-interactive user
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 72b1396..3ff083c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
all: FORCE
pull:
- @rsync ${LIGA_RSYNC_OPTS} -q --delete --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http
+ @rsync -e "ssh ${LIGA_SSH_OPTS}" -q --delete --exclude=.htaccess --exclude=.git --exclude=.gitignore -urPz ${LIGA_REMOTE_WWW_DIR}/ http
autocommit: pull
- @cd http && git diff --quiet || (git add . && git commit -m 'Autocommit' && git push)
+ @cd http && git diff --quiet || (date && git add . && git commit -m 'Autocommit' && GIT_SSH_COMMAND="ssh ${LIGA_SSH_OPTS}" git push)
dumps: FORCE
s3cmd -c dumps/.s3config sync ${LIGA_S3_BUCKET} dumps/sync/