docs: fix Azure Pipelines job and build-task snippets - #26267
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
dvdksn
approved these changes
Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The job and build-task snippets in the Azure Pipelines guide don't parse as YAML.
displayNameandpoolsit outside the job list item, and the build-task list item is indented inconsistently with its fields. Aligns these fragments with the already-valid full pipeline shown at the start of the guide.Also corrects the stage explanation: the full pipeline places the main-branch condition on the push task, not the stage. The build still runs on pull requests.
Validation
Both original fragments fail PyYAML parsing. Both corrected fragments parse and match the corresponding job/build-task nodes in the full pipeline exactly. A structural assertion verifies that only the push task has the main-branch condition.
git diff --checkpasses.No Azure pipeline was deployed or run. The full Hugo/Docker validation was not run because those tools are unavailable locally; the changed code blocks were inspected in a browser-rendered extract, not a native site preview.