Skip to content

Commit 3cbf64e

Browse files
test
Exclude specific files and directories from artifact upload.
1 parent 47ffed1 commit 3cbf64e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/static.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,14 @@ jobs:
3737
uses: actions/upload-pages-artifact@v3
3838
with:
3939
# Upload entire repository
40-
path: './'
40+
path: with:
41+
path: |
42+
./
43+
!react/
44+
!.github/
45+
!README.md
46+
!.gitignore
47+
4148
- name: Deploy to GitHub Pages
4249
id: deployment
4350
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)