1
0
Fork 0
archivebox/Makefile

14 lines
421 B
Makefile

RSYNC = rsync -aPh --stats
DATA_PATH = data
DEPLOY_PATH = /srv/causa_arcana_archivebox
LOCAL_ARCHIVE_PATH = $(DATA_PATH)/archive
DEPLOY_ARCHIVE_PATH = $(DEPLOY_PATH)/archive
DEPLOY_SSH_HOST = alpha.causa-arcana.com
DEPLOY_SSH_PORT = 57393
DEPLOY_SSH_USER = kotovalexarian
deploy:
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' '$(LOCAL_ARCHIVE_PATH)/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):$(DEPLOY_ARCHIVE_PATH)/'