1
0
Fork 0
archivebox/Makefile
2023-08-29 19:20:29 +04:00

12 lines
458 B
Makefile

RSYNC = rsync -aPh --stats
DEPLOY_SSH_HOST = alpha.causa-arcana.com
DEPLOY_SSH_PORT = 57393
DEPLOY_SSH_USER = kotovalexarian
deploy:
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'public/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/srv/causa_arcana_archivebox/'
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'data/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/var/lib/archivebox'
data-del-indices:
rm -vf data/archive/*/index.html data/archive/*/index.json