File tree Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Expand file tree Collapse file tree 1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,14 @@ jobs:
1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
14- - name : Use Node.js
15- uses : actions/setup-node@v1
16- with :
17- node-version : 12.x
18- - run : npm install
19- - run : npm run build
20- - run : |
21- npx gh-pages -d build \
22- -b gh-pages \
23- --repo "https://$GITHUB_ACTOR:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" \
24- --user "Auto Doc Publisher <docs@automator.bot>" \
25- --no-history
13+ - uses : actions/checkout@v4
14+ - uses : ljharb/actions/node/install@main
15+ name : ' nvm install lts/* && npm install'
16+ with :
17+ node-version : lts/*
18+ - run : npm run build
19+ - uses : JamesIves/github-pages-deploy-action@v4
20+ with :
21+ branch : gh-pages
22+ folder : build
23+ clean : true
You can’t perform that action at this time.
0 commit comments