diff options
author | emkael <emkael@tlen.pl> | 2020-10-17 13:13:50 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2020-10-17 13:13:50 +0200 |
commit | 443b328c785734c4ab7736a853b31fcf0c766f6f (patch) | |
tree | a6ab5b6ba02ccf5787c7f8b9abcbb37b077c0345 /Makefile | |
parent | e350f8583baafb8fbf89cf2843d84ca5d95cc736 (diff) |
rsync/git push configuration for non-interactive user
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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/ |