File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 deploy :
1010 runs-on : ubuntu-latest
11+ env :
12+ PUBLISH_DIR : ./dist/docs/browser
1113 steps :
1214 - name : Checkout code
1315 uses : actions/checkout@v4
1416
1517 - name : Set up Node.js
1618 uses : actions/setup-node@v4
1719 with :
18- node-version : ' 22 '
20+ node-version : ' 24 '
1921
2022 - name : Install dependencies
2123 run : yarn
@@ -24,13 +26,13 @@ jobs:
2426 run : npm run build:docs
2527
2628 - name : Create 404.html
27- run : cp ./dist/docs/ index.html ./dist/docs /404.html
29+ run : cp ${{ env.PUBLISH_DIR }}/ index.html ${{ env.PUBLISH_DIR }} /404.html
2830
2931 - name : Deploy to gh-pages
3032 uses : peaceiris/actions-gh-pages@v3
3133 with :
3234 github_token : ${{ secrets.GITHUB_TOKEN }}
33- publish_dir : ./dist/docs
35+ publish_dir : ${{ env.PUBLISH_DIR }}
3436 publish_branch : gh-pages
3537 user_name : ' github-actions[bot]'
3638 user_email : ' github-actions[bot]@users.noreply.github.com'
You can’t perform that action at this time.
0 commit comments