Skip to content

DOCOPS-213 Use the reusable trigger and update the generate workflows - #91

Merged
recrwplay merged 1 commit into
mainfrom
use-reusable-trigger-builds
Nov 12, 2026
Merged

recrwplay merged 1 commit into
mainfrom
use-reusable-trigger-builds

Conversation

@recrwplay

Copy link
Copy Markdown
Contributor

Part of DOCOPS-213 (https://linear.app/neo4j/issue/DOCOPS-213/roll-out-the-reusable-trigger-and-generate-workflows-to-the-docs-repos).

Moves the repository to the docs-template build workflows:

  • docs-trigger-builds.yml (new): calls reusable-docs-trigger-builds.yml@v2, which reads the dev and prod branch from the branch record in docs-publish and the playbooks, and triggers the builds the pushed branch belongs to.
  • docs-generate-html.yml: takes publish-env from the trigger. The hardcoded DEV_BRANCH and PROD_BRANCH and the prepare-ref-env job are gone.
  • docs-generate-pdf.yml (new): builds a PDF. The reusable triggers it for the dev branch only.

Dev and prod are both main in the branch record, so a push to main builds and publishes to both environments, plus a PDF to dev.

npm run verify:preview passes with no warnings or errors in the log.

Add docs-trigger-builds.yml (a call to reusable-docs-trigger-builds.yml in docs-tools),
update docs-generate-html.yml to take publish-env from the trigger instead of hardcoding
the dev and prod branch, and add docs-generate-pdf.yml. All three are the docs-template
versions.
@neo4j-docops-agent

neo4j-docops-agent commented Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

@recrwplay
recrwplay merged commit daafed9 into main Nov 12, 2026
5 checks passed
@recrwplay
recrwplay deleted the use-reusable-trigger-builds branch November 12, 2026 14:50
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