File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 with :
1818 # Required to push to gh-pages
1919 fetch-depth : 0
20+ - name : Configure git identity
21+ run : |
22+ git config user.name "github-actions[bot]"
23+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
2024 - uses : pnpm/action-setup@v3
2125 with :
2226 version : 10
@@ -37,15 +41,11 @@ jobs:
3741 git switch --orphan gh-pages
3842 git rm -rf . || true
3943 echo '<!doctype html><meta charset="utf-8"><meta http-equiv="refresh" content="0; url=/docusaurus-plugins/">' > index.html
40- git add -A
44+ git add index.html
4145 git commit -m "chore: initialize gh-pages"
4246 git push origin gh-pages
4347 git switch -
4448 fi
45- - name : Configure git identity
46- run : |
47- git config user.name "github-actions[bot]"
48- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
4949 - name : Deploy with Docusaurus
5050 env :
5151 GIT_USER : github-actions[bot]
You can’t perform that action at this time.
0 commit comments