Skip to content

Publish the docs directory alongside the built site - #13

Merged
stefan-burke merged 1 commit into
mainfrom
deploy-docs-with-site
Sep 2, 2026
Merged

Publish the docs directory alongside the built site#13
stefan-burke merged 1 commit into
mainfrom
deploy-docs-with-site

Conversation

@stefan-burke

Copy link
Copy Markdown
Collaborator

Both deployment workflows copy docs/ into _site/ between the build and the artifact upload, so repository documents — currently the SharedServices setup guide — are served at /docs/ on each deployment:

  • pages.yml: merge step before upload-pages-artifact → served at https://codeforamerica.github.io/cfa-static/docs/
  • sharedservices-deploy.yaml: merge step before the artifact upload → included in the S3 sync, so the guide will be on the internal copy at /docs/ too (same content, same commit as the public deployment)

Deliberately a workflow-level merge rather than an Eleventy passthrough: the guide is a repository document rather than site content, so it stays out of the local dev server, the site's block pipeline, and Pagefind scope — it would also quietly change the _site fixture expectations the test suite holds.

Verification: both workflow YAMLs parse with the merge step present in each; cp -r docs _site/ semantics checked locally; precommit gate green.

Both deployment workflows (GitHub Pages and SharedServices) copy docs/
into _site/ right after the build, so repository documents like the
SharedServices setup guide are served at /docs/ on each deployment —
same content, same commit, on both the public and internal copies.
@stefan-burke
stefan-burke merged commit ed0c9bc into main Sep 2, 2026
4 checks passed
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