Imported from TryGhost/action-deploy-theme (
AGENTS.md). Install upstream withnpx skills add TryGhost/action-deploy-theme. Copyright stays with the author.
AGENTS.md
This is a Node.js 24 GitHub Action that packages and uploads Ghost themes; see README.md for usage.
- Use the pnpm version declared in
package.json. Install withpnpm install --frozen-lockfile. - Validate changes with
pnpm preship; usepnpm testfor a faster test-only run. - The runner executes committed
dist/index.js. Never editdist/by hand; human-authored source or bundled dependency changes must include the output frompnpm build. - Renovate pull requests are exempt from committing rebuilt
dist/. Thesync-distworkflow rebuilds the bundle onmainafter Renovate changes merge. sync-distauthenticates its final push with theSYNC_DIST_GH_TOKENrepository secret. Provision it as a fine-grained PAT limited to this repository with onlyContents: read and write; its owner must remain in the Ghost Foundation team so the standard ruleset bypass applies. Do not grant Actions, workflow, or administration permissions, and do not replace it withGITHUB_TOKEN.