fix: run preview-docs only when md/qmd changes (#2606)

* fix: run preview-docs only when md/qmd changes

* feat: add quarto yaml based on PR feedback
This commit is contained in:
NanoCode012
2025-05-02 00:21:28 +07:00
committed by Wing Lian
parent b50d35bec9
commit a7a40378f5

View File

@@ -4,6 +4,12 @@ on:
pull_request:
types: [opened, synchronize, reopened]
# Run the workflow only when one of these files changes
paths:
- '**/*.md' # any Markdown file
- '**/*.qmd' # any Quarto file
- '_quarto.yaml'
permissions:
checks: write
contents: write