2023-08-24 22:00:41 +04:00
|
|
|
RSYNC = rsync -aPh --stats
|
|
|
|
|
2024-01-04 06:42:18 +04:00
|
|
|
DEPLOY_SSH_HOST = site.causa-arcana.com
|
2023-08-24 22:00:41 +04:00
|
|
|
DEPLOY_SSH_PORT = 57393
|
|
|
|
DEPLOY_SSH_USER = kotovalexarian
|
|
|
|
|
2023-08-24 23:33:04 +04:00
|
|
|
deploy:
|
2024-01-04 21:33:25 +04:00
|
|
|
@echo '================================================================================'
|
2023-08-27 01:39:38 +04:00
|
|
|
$(RSYNC) --del -e 'ssh -p $(DEPLOY_SSH_PORT)' 'public/' '$(DEPLOY_SSH_USER)@$(DEPLOY_SSH_HOST):/srv/causa_arcana_archivebox/'
|
2024-01-04 21:33:25 +04:00
|
|
|
@echo '================================================================================'
|
2023-08-29 17: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 18:58:49 +04:00
|
|
|
|
|
|
|
data-del-indices:
|
|
|
|
rm -vf data/archive/*/index.html data/archive/*/index.json
|