Skip to content

Commit 6a145ee

Browse files
CopilotProLoser
andcommitted
Specify explicit files for artifact upload to exclude sensitive content
Co-authored-by: ProLoser <[email protected]>
1 parent 7137b6c commit 6a145ee

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/pr-preview.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ jobs:
2727
uses: actions/upload-artifact@v4
2828
with:
2929
name: pr-preview-${{ github.event.pull_request.number }}
30-
path: .
30+
path: |
31+
index.html
32+
map.js
33+
style.css
34+
categories.json
35+
favicon_fc.ico
36+
screenshot.png
37+
CNAME
3138
retention-days: 7
3239

3340
- name: Comment on PR

0 commit comments

Comments
 (0)