Add welcome course, finish template substitution for west575
Sync courses / sync (push) Successful in 5s

This commit is contained in:
2026-08-27 06:44:48 -04:00
parent 622d5d1166
commit aba4071718
6 changed files with 69 additions and 17 deletions
+11 -14
View File
@@ -1,7 +1,7 @@
# __CLIENT__-eec-courses
# west575-eec-courses
Course content for [eec](https://gitea.reground.org/will/eec), the self-paced
email course engine — this instance served at eec.__DOMAIN__. Push to
email course engine — this instance served at eec.west575.org. Push to
`master` and CI syncs `courses/` straight to production — there's no staging
step, so treat a push here the same as a push to `eec` itself.
@@ -21,19 +21,16 @@ courses/
...
```
## Courses
| slug | how people get in |
|---|---|
| `welcome` | entered automatically on newsletter signup (`SUBSCRIBE_ENROLL_COURSE_SLUG` on the `eec-west575` deployment) — never linked publicly on its own |
## Deploying
Push to `master``.gitea/workflows/sync.yml` tars up `courses/` and
`POST`s it to this domain's `eec-__CLIENT__` container over the internal
Docker network, authenticated with `__CLIENT___EEC_SYNC_TOKEN` (a Gitea
Actions secret shared with the `eec-__CLIENT__` Ansible role's copy). No
`POST`s it to this domain's `eec-west575` container over the internal
Docker network, authenticated with `WEST575_EEC_SYNC_TOKEN` (a Gitea
Actions secret shared with the `eec-west575` Ansible role's copy). No
separate deploy step, no staging — a push here goes live immediately.
---
**Generating a new client repo from this template:**
1. Gitea → "Generate Repo" from this template repo's page, named `<client>-eec-courses`.
2. Find/replace `__CLIENT__` → the client's slug (must match the `eec-<client>` container name) and `__DOMAIN__` → the client's domain, in this README and in `.gitea/workflows/sync.yml`.
3. Add the `<CLIENT>_EEC_SYNC_TOKEN` Actions secret to the new repo (Gitea does not carry secrets over from a template) — value must match the `eec-<client>` Ansible role's copy.
4. Delete this "Generating a new client repo" section from the new repo's README once done.