diff --git a/AGENTS.md b/AGENTS.md index f92e4bc..913249d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,7 +2,7 @@ Read `README.md` for the three sites (moq.dev, moq.pub, moq.watch), setup, and t # Rules -- Merging to main deploys staging. Ask before merging into or pushing to `release`, or running `just deploy`. +- Merging to main deploys staging. Ask before merging into or pushing to `release`, or deploying by hand (`just deploy*`, `wrangler deploy`). - Protocol, player, and publisher fixes belong upstream in moq-dev/moq (`@moq/publish`, `@moq/watch`, ...). Fix them there first, then bump the `moq` submodule here; the `@moq/*` packages build from it. # Development diff --git a/quest/m2/auto-deploy.md b/quest/m2/auto-deploy.md deleted file mode 100644 index 7e75987..0000000 --- a/quest/m2/auto-deploy.md +++ /dev/null @@ -1,31 +0,0 @@ -# [XS] Deploy staging from main and live from release - -## Goal - -Every push to `main` deploys moq.dev, moq.pub and moq.watch to staging from -GitHub Actions, and every push to a protected `release` branch deploys them -live, so production changes only when `release` moves. - -Non-goals: what each mode builds (the unreleased-route gate from -[#300](https://github.com/moq-dev/moq.dev/pull/300) stays, so `/huh` ships to -staging and not live), and moq.pro's deploys. - -## Plan - -[#305](https://github.com/moq-dev/moq.dev/pull/305) added -`.github/workflows/deploy.yml` and -[kixel-ai/dotfiles#362](https://github.com/kixel-ai/dotfiles/pull/362) the -`release` branch standard, and the environments, their tokens and the -`release` branch were set up on 2026-11-25. What remains is protecting -`release` under `Waiting`, then checking each half on its real surface: a -merge to `main` updates new.moq.dev, new.moq.pub and new.moq.watch, and a -release PR's merge updates moq.dev, moq.pub and moq.watch. Delete this quest -once both have deployed. - -## Waiting - -- Maintainer: once - [kixel-ai/dotfiles#362](https://github.com/kixel-ai/dotfiles/pull/362) - merges, run `repo-settings apply`, which protects `release` and allows merge - commits; an agent may not change live repository settings. Check with - `repo-settings check`, which should print nothing for moq-dev/moq.dev.