Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,13 @@ jobs:
git commit -m "docs(changelog): update for ${GITHUB_REF_NAME} [skip ci]"
git push origin main
fi

# The site's "What's new" reads CHANGELOG.md at build time, and the commit above carries
# [skip ci], so ask Cloudflare Pages for a fresh build. Set the CF_DEPLOY_HOOK secret to the
# deploy hook URL (Pages project → Settings → Builds → Deploy hooks).
- name: Redeploy the site
env:
CF_DEPLOY_HOOK: ${{ secrets.CF_DEPLOY_HOOK }}
run: |
if [ -z "$CF_DEPLOY_HOOK" ]; then echo "CF_DEPLOY_HOOK secret not set; skipping"; exit 0; fi
curl -fsS -X POST "$CF_DEPLOY_HOOK" >/dev/null && echo "Cloudflare deploy triggered"
7 changes: 4 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ open Package.swift # opens the package in Xcode for GUI editing / previ
- **Tests:** `swift test` (Swift Testing; `@testable import Tic` works on the executable target —
no separate library). `Assets/` holds source icon art (AppIcon / Flat / MenuBar); the menu-bar
glyph is also copied to `Sources/Tic/Resources/MenuBarIcon.png` and bundled via SwiftPM.
- **CI/Release:** `.github/workflows/` — `ci.yml` (build + test + lint), `changelog.yml`
(git-cliff updates `CHANGELOG.md` on main), `release.yml` (push a `v*` tag → builds `Tic.app`,
git-cliff release notes, publishes a GitHub Release).
- **CI/Release:** `.github/workflows/` — `ci.yml` (build + test + lint) and `release.yml` (push a
`v*` tag → builds `Tic.app`, git-cliff release notes, publishes a GitHub Release, commits the
regenerated `CHANGELOG.md` to main, then POSTs the `CF_DEPLOY_HOOK` secret so the site's
What's new rebuilds — that commit is `[skip ci]`, which Cloudflare honours).
- To launch headlessly for a no-crash smoke check (the GUI can't be screenshotted from a
sandbox), run `.build/debug/Tic` in the background and grep its stderr for the
`[Tic] restored N note panel(s)` log line.
Expand Down