Skip to content

Test: Netlify docs build trigger & PR preview path filtering#2

Closed
jonathanmoore wants to merge 2 commits into
mainfrom
test-netlify-docs-build
Closed

Test: Netlify docs build trigger & PR preview path filtering#2
jonathanmoore wants to merge 2 commits into
mainfrom
test-netlify-docs-build

Conversation

@jonathanmoore
Copy link
Copy Markdown
Owner

Testing selective GitHub Actions workflows:

Expected behavior:

  • docs-deploy.yml workflow SHOULD run (docs changed)
  • ✅ Netlify build SHOULD trigger
  • ✅ Netlify bot SHOULD comment with preview link
  • pr-preview.yml workflow SHOULD NOT run (only docs changed, not theme)
  • ci.yml workflow SHOULD run (no path filters)

Changes:

  • Minor update to docs homepage feature description
  • Tests path filtering added to PR preview and deploy workflows

This PR will be closed after verification.

jonathanmoore and others added 2 commits April 9, 2026 14:09
- PR preview workflow now only runs when theme files change
- Deploy workflow only runs when theme files change (manual dispatch still unrestricted)
- Prevents unnecessary CI runs and Shopify theme creation for docs-only changes
- Follows same pattern as docs-deploy.yml path filtering

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 9, 2026

Preview theme deployed

Theme: PR #2 - test-netlify-docs-build

Preview Open store preview
Editor Open theme editor

@jonathanmoore
Copy link
Copy Markdown
Owner Author

Closing test PR. The path filtering changes need to be in main first before this test can work correctly. See new PR for workflow changes.

@jonathanmoore jonathanmoore deleted the test-netlify-docs-build branch April 9, 2026 19:18
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