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