2023-08-24 14:00:41 -04:00
|
|
|
RSYNC = rsync -aPh --stats
|
|
|
|
|
|
|
|
DEPLOY_SSH_HOST = alpha.causa-arcana.com
|
|
|
|
DEPLOY_SSH_PORT = 57393
|
|
|
|
DEPLOY_SSH_USER = kotovalexarian
|
|
|
|
|
2023-08-24 15:33:04 -04:00
|
|
|
deploy:
|
2023-08-26 17:39:38 -04:00
|
|
|
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'public/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/srv/causa_arcana_archivebox/'
|
2023-08-29 09:28:41 -04:00
|
|
|
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'data/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/var/lib/archivebox'
|
2023-08-29 10:58:49 -04:00
|
|
|
|
|
|
|
data-del-indices:
|
|
|
|
rm -vf data/archive/*/index.html data/archive/*/index.json
|