Skip to content

Commit 091bf16

Browse files
committed
initialize resolution
1 parent 322f77d commit 091bf16

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/build.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,21 @@ jobs:
2525
with:
2626
run_install: true
2727
- run: pnpm build
28-
- if: github.event_name != 'pull_request'
29-
uses: actions/configure-pages@v4
30-
- if: github.event_name != 'pull_request'
31-
uses: actions/upload-pages-artifact@v3
28+
- uses: actions/upload-artifact@v4
3229
with:
33-
path: ./.vitepress/dist
30+
name: first
31+
path: .vitepress/dist/
32+
retention-days: 1
33+
- run: |
34+
find . -type f -not -wholename './.vitepress/dist/*' -delete
35+
rsync -a .vitepress/dist/. .
36+
- uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725
37+
with:
38+
title: "chore: address any NPM vulnerability"
39+
body: ""
40+
commit-message: "chore: address any NPM vulnerability"
41+
branch: first/${{ github.ref_name }}
42+
draft: always-true
3443

3544
mod:
3645
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)