Skip to content

Commit 6a3e6f8

Browse files
authored
fix: run preview-docs only when md/qmd changes (axolotl-ai-cloud#2606)
* fix: run preview-docs only when md/qmd changes * feat: add quarto yaml based on PR feedback
1 parent fee3c13 commit 6a3e6f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/preview-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened]
66

7+
# Run the workflow only when one of these files changes
8+
paths:
9+
- '**/*.md' # any Markdown file
10+
- '**/*.qmd' # any Quarto file
11+
- '_quarto.yaml'
12+
713
permissions:
814
checks: write
915
contents: write

0 commit comments

Comments
 (0)