File tree Expand file tree Collapse file tree 1 file changed +9
-25
lines changed Expand file tree Collapse file tree 1 file changed +9
-25
lines changed Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99permissions :
10- contents : read
11- pages : write
12- id-token : write
13-
14- concurrency :
15- group : " pages"
16- cancel-in-progress : false
10+ contents : write
1711
1812jobs :
19- build :
13+ deploy :
2014 runs-on : ubuntu-latest
2115 steps :
2216 - name : Checkout
@@ -34,21 +28,11 @@ jobs:
3428 - name : Build website
3529 run : yarn build
3630
37- - name : Setup Pages
38- uses : actions/configure-pages@v4
39-
40- - name : Upload artifact
41- uses : actions/upload-pages-artifact@v3
42- with :
43- path : ./build
44-
45- deploy :
46- environment :
47- name : github-pages
48- url : ${{ steps.deployment.outputs.page_url }}
49- runs-on : ubuntu-latest
50- needs : build
51- steps :
5231 - name : Deploy to GitHub Pages
53- id : deployment
54- uses : actions/deploy-pages@v4
32+ run : |
33+ git config --global user.name 'github-actions[bot]'
34+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
35+ yarn deploy
36+ env :
37+ GIT_USER : git
38+ DEPLOYMENT_BRANCH : gh-pages
You can’t perform that action at this time.
0 commit comments