File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments