Skip to content

Commit 8b06653

Browse files
committed
feat: adding path filter to Astro Deploy action
1 parent cffa349 commit 8b06653

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/astro.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Deploy Astro site to Pages
22
on:
33
push:
44
branches: ["main"]
5+
paths:
6+
- "docs/**"
57
workflow_dispatch:
68
permissions:
79
contents: read
@@ -50,4 +52,4 @@ jobs:
5052
steps:
5153
- name: Deploy to GitHub Pages
5254
id: deployment
53-
uses: actions/deploy-pages@v4
55+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)