chore: add gitea backup hook
This commit is contained in:
+4
-1
@@ -3,7 +3,7 @@ SHELL := /bin/bash
|
||||
APP_PORT ?= 18080
|
||||
DATA_FILES := ../data/classnotes.txt ../data/学生课时账户.md
|
||||
|
||||
.PHONY: check smoke data-hash build up ps health deploy logs
|
||||
.PHONY: check smoke data-hash build up ps health deploy logs install-gitea-backup
|
||||
|
||||
check:
|
||||
node --check app/static/app.js
|
||||
@@ -38,3 +38,6 @@ deploy: check smoke
|
||||
|
||||
logs:
|
||||
docker compose logs --tail=120 xsk-records-web
|
||||
|
||||
install-gitea-backup:
|
||||
python3 scripts/install_gitea_backup_hook.py
|
||||
|
||||
Reference in New Issue
Block a user