1
0
Fork 0
archivebox/Makefile
2024-01-04 21:33:25 +04:00

14 lines
637 B
Makefile

RSYNC = rsync -aPh --stats
DEPLOY_SSH_HOST = site.causa-arcana.com
DEPLOY_SSH_PORT = 57393
DEPLOY_SSH_USER = kotovalexarian
deploy:
@echo '================================================================================'
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'public/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/srv/causa_arcana_archivebox/'
@echo '================================================================================'
$(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