Update deploy docs for the Gitea Actions migration
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -46,12 +46,21 @@ npm run preview
|
||||
|
||||
## Deploy
|
||||
|
||||
`.gitlab-ci.yml` at the repo root builds/deploys each site independently
|
||||
(path-scoped via `rules: changes:`), plus a `deploy:shared` job that syncs
|
||||
`shared/images/` and `shared/footer.html` to
|
||||
`/var/www/domains/gateway-gamers.net/shared/` on the webserver — the box
|
||||
the GitLab Runner executes on. Every site's nginx server block points
|
||||
`/images/` and `/footer.html` at that shared directory via `alias`, so the
|
||||
webserver only ever holds one copy of the ~25MB of images. See each
|
||||
`.gitea/workflows/` at the repo root builds/deploys each site independently
|
||||
(one workflow per site, path-triggered via `on.push.paths`), plus a
|
||||
`deploy-shared.yml` workflow that syncs `shared/images/` and
|
||||
`shared/footer.html` to `/var/www/domains/gateway-gamers.net/shared/` on
|
||||
the webserver — the box the Gitea Actions runner (`act_runner`, host mode,
|
||||
no Docker) executes on. Every site's nginx server block points `/images/`
|
||||
and `/footer.html` at that shared directory via `alias`, so the webserver
|
||||
only ever holds one copy of the ~25MB of images. See each
|
||||
`sites/<name>/<name>.gateway-gamers.net.conf` for the live nginx reference
|
||||
config (applied manually on the box — CI doesn't touch nginx).
|
||||
|
||||
A separate `refresh-elo.yml` workflow runs weekly (~02:00 UTC) to refresh
|
||||
`40k-rankings`' stat-check ELO data and push the result back to `main`,
|
||||
authenticating via the `SYNC_ACCESS_TOKEN` repo secret.
|
||||
|
||||
This previously ran on self-hosted GitLab CI (`.gitlab-ci.yml`); that
|
||||
GitLab instance was migrated to Gitea, so the pipeline was ported to
|
||||
Gitea Actions accordingly.
|
||||
|
||||
Reference in New Issue
Block a user