Skip to content

Deploy: rebuild when the app's docs change - #3

Merged
SirReaDy merged 1 commit into
mainfrom
ci/rebuild-on-app-docs
Oct 20, 2026
Merged

SirReaDy merged 1 commit into
mainfrom
ci/rebuild-on-app-docs

Conversation

@SirReaDy

Copy link
Copy Markdown
Contributor

The Deploy workflow also runs on app-docs-changed, which IPAForge/ipaforge's new Website workflow sends when its install guide, release notes or error texts change on main. Releases keep sending app-released, now from the release workflow's last step (IPAForge/ipaforge#84).

The app repository now asks for a rebuild when its install guide, release
notes or error texts change on main (app-docs-changed), as it already does
for a release (app-released).
@SirReaDy
SirReaDy merged commit 8743ba8 into main Oct 20, 2026
@SirReaDy
SirReaDy deleted the ci/rebuild-on-app-docs branch October 20, 2026 15:45
SirReaDy added a commit to IPAForge/ipaforge that referenced this pull request Oct 20, 2026
ipaforge.com is built from this repository's `docs/installing.md`,
`docs/releases/` and the error texts in `en.json`, but only rebuilt when
the site repository changed.

- **`website.yml` (new):** a change to those files on `main` (or a
manual run) sends the site repository an `app-docs-changed` event.
- **`release.yml`:** its last step sends `app-released`. A `release:
published` trigger wouldn't work: a release published with the
workflow's own token starts no other workflow.
- **The token:** both use the secret `SITE_DISPATCH_TOKEN`, a
fine-grained token (resource owner IPAForge, repository
`IPAForge/ipaforge.github.io` only, Contents read and write). Without it
they log a warning and exit successfully, so nothing fails while it
isn't set.
- The site's Deploy listens for the new event in
IPAForge/ipaforge.github.io#3.
- Documented in `docs/contributing.md` (Releases → The website) and
AGENTS.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant