Skip to content

Commit c05aff2

Browse files
authored
Update workflow trigger for GitHub Pages deployment
Changed trigger from pull_request to push for specific path.
1 parent e7fb594 commit c05aff2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/static.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
name: Deploy to Pages
33

44
on:
5-
pull_request:
6-
types: [closed]
5+
push:
6+
paths:
7+
- './simple'
78
workflow_run:
89
workflows: [Sync]
910
types:
@@ -17,7 +18,7 @@ permissions:
1718

1819
concurrency:
1920
group: "pages"
20-
cancel-in-progress: true
21+
cancel-in-progress: false
2122

2223
jobs:
2324
deploy:

0 commit comments

Comments
 (0)