Skip to content

Commit 7ad00d6

Browse files
committed
Update build.yaml
1 parent 1fc9dce commit 7ad00d6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: "Pages"
22

33
on:
44
push:
5-
branches: ["master"]
5+
branches:
6+
- "master"
7+
paths:
8+
- "src/**"
69
workflow_dispatch:
710

811
permissions:
@@ -33,7 +36,7 @@ jobs:
3336
source: "./src"
3437

3538
- name: "Upload Pages Artifact"
36-
uses: actions/upload-pages-artifact@v2
39+
uses: actions/upload-pages-artifact@v3
3740
with:
3841
path: _site/
3942

@@ -50,6 +53,6 @@ jobs:
5053
steps:
5154
- name: "Deploy Pages"
5255
id: deployment
53-
uses: actions/deploy-pages@v2
56+
uses: actions/deploy-pages@v4
5457
with:
5558
artifact_name: github-pages

0 commit comments

Comments
 (0)