Commit Graph
25 Commits
Author SHA1 Message Date
michael 7c3eb7debd Send down and back-up alerts to Mattermost (#6)
Deploy to Cloudflare / build-and-deploy (push) Skipped
Check / check (push) Successful in 10m48s
The webhook address is private: uptime.config.ts names it as secret:MATTERMOST_WEBHOOK and the
worker reads the Worker secret of that name (bound in deploy.tf from the GitHub Actions secret).
The address is kept out of the logs. Alerts wait 3 minutes before saying something is down.
2026-11-23 10:11:52 -05:00
michael cf977e65da Read the apps check address from a Worker secret (#5)
A monitor's target can be secret:NAME: the worker reads the address
from the Worker secret NAME at check time, bound in deploy.tf from the
GitHub Actions secret of the same name. The address never appears in
this repository, and any error text that mentions it is scrubbed before
it's stored or shown. Apps in US East now checks a real app this way.
2026-11-23 03:35:25 -05:00
Michael Kinder fdc16007e3 Restyle the status page in Cottage's brand
The page (pages/, components/, styles/) is rewritten in Cottage's brand, replacing Mantine.
- Brand files: tokens, fonts and component CSS copied from Hearth; logo, pod row, status
  pill and banner ported from the brand handbook.
- Themes: light by default, dark when the OS asks.
- Services: grouped; each has a status pill, uptime and 90 daily bars (30 on phones).
- Bars: each bar has a text label, keyboard navigation and a day card.
- Response-time chart: optional, drawn in brand colours.
- Notices: colour-coded posted notices and planned maintenance.
- Incident history: by month, with the brand's empty state.

The check worker, D1 storage, types and Terraform are untouched, so upstream merges stay
clean. uptime.config.ts lists Cottage's services (website, dashboard, apps in US East).
`npm run dev` shows sample data (?sample=outage|maintenance|empty) since there's no D1.

Deploys are gated on the CLOUDFLARE_DEPLOY repository variable until launch, Wrangler
telemetry is off, and a Check workflow lints, type-checks and builds every pull request.
Removed upstream's issue-translation workflow, funding file and translations.
2026-11-21 14:04:00 -05:00
lyc8503 a5670e51cb chore: update FUNDING to ko-fi 2026-06-01 23:10:21 +08:00
Etgpaoandlyc8503 73473462fb sync: fallback to PAT_TOKEN secret when override-token is empty (#181)
* Update token usage in sync workflow

* sync: fallback to PAT_TOKEN secret when override-token is empty

Explain briefly:
UI input field doesn’t evaluate ${{ secrets.* }}, users may paste it and it becomes a literal string.
Add fallback to secrets.PAT_TOKEN to make workflow_dispatch easier and safer.

* More detailed desc

---------

Co-authored-by: lyc8503 <[email protected]>
2026-01-31 00:59:50 +08:00
lyc8503 d42f03ddc5 chore: setup funding, close #178 2026-01-31 00:39:50 +08:00
lyc8503 e2ff649ebd fix: avoid multiple deployment processes when PAT is specified 2026-01-03 23:59:31 +08:00
lyc8503 3de3640d17 feat: D1 upgrade: deployment and migration process DONE! 2026-01-03 23:06:32 +08:00
lyc8503 45d86424b2 [WIP] terraform cloudflare provider v5 works! more performance/migration/deployment work todo 2025-12-30 23:19:18 +08:00
lyc8503 c2ea95050a fix: improve deploy error handling, try to create missing resources 2025-11-06 20:35:16 +08:00
lyc8503 50be44b54a fix: this workaround SMH doesn't work, add note in docs instead 2025-11-06 02:29:01 +08:00
lyc8503 4bcf4173ea misc: run prettier 2025-04-19 21:50:43 +08:00
lyc8503 1b764b5f11 fix: terraform cloudflare provider crash 2025-04-14 02:12:06 +08:00
lyc8503 cda263f645 feat: DurableObject checker, add actions 2025-04-14 02:12:06 +08:00
lyc8503 a293f98185 misc: terraform import state 2025-04-13 21:09:54 +08:00
lyc8503 07618a5638 Create issue_translate.yml 2024-11-18 10:45:35 +08:00
lyc8503 d576251057 add workflow trigger to auto deploy 2024-07-01 01:27:14 +08:00
lyc8503 6f7df0a37a Fix permission problem when upgrading 2024-06-30 20:20:03 +08:00
lyc8503 3bae92df7c Update sync.yaml 2024-06-30 17:19:38 +08:00
Biliko eeadbc3822 Create sync.yaml 2024-05-21 00:51:55 +08:00
lyc8503 d827a7059e fix #13: create worker subdomain during deployment 2024-05-19 21:46:07 +08:00
Eric Wang 4963a4815a fix: duplicate account_id in actions, typo fix 2024-03-18 08:26:20 +08:00
Eric Wang 0c6556eda9 feat: add notify telegram & bark, and some minor fixes 2024-03-18 00:06:31 +08:00
lyc8503 54ffad7baa fix: worker didn't get updated 2023-11-19 14:39:55 +08:00
lyc8503 4f18b3fd66 use terraform & github actions 2023-11-18 22:20:35 +08:00