Skip to content

Redeploy docs site when a file it loads from this repo changes - #14557

Merged
RayBB merged 1 commit into
masterfrom
docs/deploy-wiki-on-source-change
Nov 18, 2026
Merged

RayBB merged 1 commit into
masterfrom
docs/deploy-wiki-on-source-change

Conversation

@RayBB

@RayBB RayBB commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

docs.openlibrary.org pulls five files from this repo's master at build time (CONTRIBUTING.md, Readme.md, CODE_OF_CONDUCT.md, docker/README.md, docs/code-review-bot.md). The deploy workflow only ran on wiki edits or by hand, so changes to those files didn't reach the site until something else triggered a deploy.

This adds a push trigger on master, limited to those paths. The workflow already checks out internetarchive/openlibrary.wiki explicitly, so the build is the same whatever triggers it.

Testing

  • pre-commit passes on the workflow (check-yaml, zizmor).
  • After merge: the merge commit touches only the workflow, so it won't trigger itself. The next change to one of the listed files should start a "Deploy Docs to GitHub Pages" run with event push.

The docs site pulls CONTRIBUTING.md, Readme.md, CODE_OF_CONDUCT.md,
docker/README.md and docs/code-review-bot.md from master at build time,
but only rebuilt on wiki edits, so changes to those files stayed stale.
@RayBB
RayBB enabled auto-merge (squash) November 18, 2026 01:36
@openlibrary-bot
openlibrary-bot requested a review from a team November 18, 2026 01:36

@openlibrary-bot openlibrary-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds a push trigger (scoped to master and five specific file paths) to the GitHub Pages docs-deploy workflow, so the wiki site rebuilds when a file it loads from this repo at build time changes.

Dimensions
  • Correctness — no findings. Paths filter lists five files, all present in the repo; YAML trigger syntax is valid.
  • Security — no findings in this range. This is not a security audit.
  • Accessibility — no findings. No template, JS, component or style changes in this range.
  • Test coverage — no findings. CI workflow config change; not unit-testable in this repo.
  • Styleguide — no findings. New block matches the file's existing YAML style and indentation.

Tip

A new review starts automatically about 10 minutes after your last push. To start it sooner, a maintainer can re-request a review, or you can comment @openlibrary-bot review on this PR.

Note

Automated review by @openlibrary-bot. This is not an approval or a sign-off, and it does not satisfy a required review.

@RayBB
RayBB merged commit cc9681e into master Nov 18, 2026
22 checks passed
@RayBB
RayBB deleted the docs/deploy-wiki-on-source-change branch November 18, 2026 01:38
marley pushed a commit to marley/openlibrary that referenced this pull request Nov 19, 2026
…netarchive#14557)

The docs site pulls CONTRIBUTING.md, Readme.md, CODE_OF_CONDUCT.md,
docker/README.md and docs/code-review-bot.md from master at build time,
but only rebuilt on wiki edits, so changes to those files stayed stale.
marley pushed a commit to marley/openlibrary that referenced this pull request Nov 19, 2026
…netarchive#14557)

The docs site pulls CONTRIBUTING.md, Readme.md, CODE_OF_CONDUCT.md,
docker/README.md and docs/code-review-bot.md from master at build time,
but only rebuilt on wiki edits, so changes to those files stayed stale.
marley pushed a commit to marley/openlibrary that referenced this pull request Nov 19, 2026
…netarchive#14557)

The docs site pulls CONTRIBUTING.md, Readme.md, CODE_OF_CONDUCT.md,
docker/README.md and docs/code-review-bot.md from master at build time,
but only rebuilt on wiki edits, so changes to those files stayed stale.
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.

2 participants