docs: update workflow standards with client sync-media and full repo list

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-05-02 17:26:28 -05:00
parent 86ccfdc64f
commit a9c1cd3c16
+28 -2
View File
@@ -42,9 +42,24 @@ Same as Joomla except:
Same as Joomla minus `ci-joomla.yml` (no platform-specific CI).
### Client Repositories (10 workflows)
### Client Repositories (11 workflows)
Same as Joomla (clients are Joomla-based).
Same as Joomla (clients are Joomla-based) plus:
- `sync-media.yml` — Bidirectional SFTP sync for `images/`, `files/`, `media/` between dev and production (every 6 hours + manual dispatch)
**Per-client repo variables required for sync:**
| Variable | Purpose |
|----------|---------|
| `DEV_SYNC_HOST` | Dev server hostname |
| `DEV_SYNC_PORT` | Dev SSH port (default 22) |
| `DEV_SYNC_USERNAME` | Dev server user |
| `DEV_SYNC_PATH` | Base path on dev |
| `PROD_SYNC_HOST` | Production server hostname |
| `PROD_SYNC_PORT` | Production SSH port (default 22) |
| `PROD_SYNC_USERNAME` | Production server user |
| `PROD_SYNC_PATH` | Base path on production |
**Per-client repo secrets:** `DEV_SYNC_KEY`, `PROD_SYNC_KEY`
## Release Model
@@ -104,6 +119,14 @@ for REPO in MokoCRM MokoDoliForm MokoDoliAuth ...; do
cp /a/MokoStandards-Template-Dolibarr/.gitea/workflows/*.yml .gitea/workflows/
git add .gitea/workflows/ && git commit -m "chore: sync workflows" && git push
done
# Client repos — sync from Client template
for REPO in client-clarksvillefurs client-kiddieland; do
cd /a/$REPO
rm -f .gitea/workflows/*.yml
cp /a/MokoStandards-Template-Client/.gitea/workflows/*.yml .gitea/workflows/
git add .gitea/workflows/ && git commit -m "chore: sync workflows" && git push
done
```
## Changelog
@@ -116,3 +139,6 @@ done
| 2026-05-02 | Modernized Dolibarr/Generic/Client templates to match |
| 2026-05-02 | Added workflows to all 22 Dolibarr production repos |
| 2026-05-02 | Moved canonical source from API repo to template repos |
| 2026-05-02 | Added sync-media.yml to Client template (bidirectional SFTP) |
| 2026-05-02 | Deployed workflows to 22 Dolibarr production repos |
| 2026-05-02 | Deployed workflows to 2 client repos (clarksvillefurs, kiddieland) |