generated from will/eec-courses-template
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
# west575-eec-courses
|
|
|
|
Course content for [eec](https://gitea.reground.org/will/eec), the self-paced
|
|
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.
|
|
|
|
Full reference for course/step file format, `course.yml` fields, the
|
|
readiness step, drip-triggered courses, and sync guardrails lives in the
|
|
[`eec-courses`](https://gitea.reground.org/will/eec-courses) README — the
|
|
format is identical, only the target instance differs.
|
|
|
|
## Layout
|
|
|
|
```
|
|
courses/
|
|
<slug>/
|
|
course.yml
|
|
day-0.md
|
|
day-1.md
|
|
...
|
|
```
|
|
|
|
## 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-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.
|