File tree Expand file tree Collapse file tree 1 file changed +3
-26
lines changed
Expand file tree Collapse file tree 1 file changed +3
-26
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- - develop
8- pull_request :
9- branches :
10- - master
117
128concurrency :
13- group : deploy-docs-${{ github.ref }}
9+ group : deploy-docs
1410 cancel-in-progress : true
1511
1612jobs :
17- build :
18- name : Build site
13+ deploy :
14+ name : Deploy to GitHub Pages
1915 runs-on : ubuntu-latest
2016 steps :
2117 - uses : actions/checkout@v4
3531 - name : Build website
3632 run : pnpm run build
3733
38- - name : Upload build artifact
39- uses : actions/upload-artifact@v4
40- with :
41- name : site-build
42- path : ./build
43- retention-days : 1
44-
45- deploy :
46- name : Deploy to GitHub Pages
47- needs : build
48- if : github.ref == 'refs/heads/master' && github.event_name == 'push'
49- runs-on : ubuntu-latest
50- steps :
51- - name : Download build artifact
52- uses : actions/download-artifact@v4
53- with :
54- name : site-build
55- path : ./build
56-
5734 - name : Deploy to GitHub Pages
5835 uses : peaceiris/actions-gh-pages@v4
5936 with :
You can’t perform that action at this time.
0 commit comments