File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+ on :
3+ workflow_dispatch :
4+ push :
5+ branches :
6+ - main
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v4
12+ - run : corepack enable
13+ - uses : actions/setup-node@v4
14+ with :
15+ node-version : " 22"
16+ - run : pnpm install
17+ - run : NUXT_APP_BASE_URL=/vue-split-panel/ pnpm -F docs nuxt build --preset github_pages
18+ env :
19+ NUXT_UI_PRO_LICENSE : ${{ secrets.NUXT_UI_PRO_LICENSE }}
20+ - name : Upload artifact
21+ uses : actions/upload-pages-artifact@v3
22+ with :
23+ path : ./.output/public
24+
25+ deploy :
26+ needs : build
27+ permissions :
28+ pages : write
29+ id-token : write
30+
31+ environment :
32+ name : github-pages
33+ url : ${{ steps.deployment.outputs.page_url }}
34+
35+ runs-on : ubuntu-latest
36+ steps :
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments