Skip to content

Commit f398993

Browse files
committed
Update deploy.yml
1 parent e4d6ab0 commit f398993

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
# Trigger the workflow every time you push to the `main` branch
5-
# Using a different branch name? Replace `main` with your branch’s name
4+
# Trigger the workflow every time you push to the `main` or `master` branch
5+
# but only if changes occur in the docs/ folder.
66
push:
77
branches: [master, main]
8+
paths:
9+
- 'docs/**'
810
# Allows you to run this workflow manually from the Actions tab on GitHub.
911
workflow_dispatch:
1012

0 commit comments

Comments
 (0)