Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add path-pattern input to preview-build.yml workflow #422

Merged
merged 10 commits into from
Feb 5, 2025

Conversation

reakaleek
Copy link
Member

@reakaleek reakaleek commented Feb 5, 2025

Changes

  • Add path-pattern input for the preview-build workflow
  • Run build and deployment only if the path-pattern matches

Details

This means a PR to the repository will only build and deploy the documentation if there are changes to the docs (assuming the pattern matches). But repo owners can still set the commit status as required status check, because it will still be green.

@reakaleek reakaleek requested a review from a team February 5, 2025 10:10
@reakaleek reakaleek self-assigned this Feb 5, 2025
@reakaleek reakaleek marked this pull request as ready for review February 5, 2025 10:10
@reakaleek reakaleek merged commit cf4e3df into main Feb 5, 2025
5 checks passed
@reakaleek reakaleek deleted the feature/conditional-docs-build branch February 5, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants