chore: add gitea backup hook

This commit is contained in:
Codex
2026-06-14 21:10:59 +08:00
parent 5f90abf6a8
commit 2591549734
2 changed files with 105 additions and 1 deletions
+4 -1
View File
@@ -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