File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -14,27 +14,28 @@ jobs:
1414 steps :
1515 - name : Checkout Repository ποΈ
1616 uses : actions/checkout@v4
17- with :
18- persist-credentials : false
1917
2018 - name : Setup Node.js π§
2119 uses : actions/setup-node@v4
2220 with :
2321 node-version : 18
22+ cache : ' npm'
2423
2524 - name : Install Dependencies π¦
2625 run : npm ci
2726
2827 - name : Build Documentation π
2928 run : npm run docs:build
3029
31- - name : List Build Output π
32- run : ls -la .vitepress/dist
30+ - name : Add CNAME
31+ run : echo "devdocs.aureuserp.com" > .vitepress/dist/CNAME
32+
33+ - name : Create .nojekyll file
34+ run : touch .vitepress/dist/.nojekyll
3335
3436 - name : Deploy to GitHub Pages π
35- uses : peaceiris/actions-gh- pages@v4
37+ uses : JamesIves/github- pages-deploy-action @v4
3638 with :
37- github_token : ${{ secrets.GITHUB_TOKEN }}
38- publish_dir : .vitepress/dist
39- cname : devdocs.aureuserp.com
40- force_orphan : true
39+ folder : .vitepress/dist
40+ branch : gh-pages
41+ clean : true
You canβt perform that action at this time.
0 commit comments