docs: add local scheduled maintenance runner (no auto-push)
This commit is contained in:
@@ -60,6 +60,34 @@ cd /Users/apple/github-projects/microdao-daarion
|
||||
bash scripts/docs/docs_sync.sh --apply --targets github,gitea
|
||||
```
|
||||
|
||||
## 5) Local scheduled run (no auto-push)
|
||||
|
||||
Install/update daily cron job (local timezone):
|
||||
|
||||
```bash
|
||||
cd /Users/apple/github-projects/microdao-daarion
|
||||
bash scripts/docs/install_local_cron.sh --schedule "17 9 * * *"
|
||||
```
|
||||
|
||||
Dry-run preview:
|
||||
|
||||
```bash
|
||||
cd /Users/apple/github-projects/microdao-daarion
|
||||
bash scripts/docs/install_local_cron.sh --dry-run
|
||||
```
|
||||
|
||||
Uninstall:
|
||||
|
||||
```bash
|
||||
cd /Users/apple/github-projects/microdao-daarion
|
||||
bash scripts/docs/install_local_cron.sh --uninstall
|
||||
```
|
||||
|
||||
Runner command:
|
||||
- `scripts/docs/run_docs_maintenance.sh`
|
||||
- executes `services_sync --apply` and `docs_lint`
|
||||
- does not perform any `git push`
|
||||
|
||||
## Safety gates
|
||||
|
||||
- `docs_sync.sh` is dry-run by default.
|
||||
|
||||
Reference in New Issue
Block a user