File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11name : Deploy to GitHub Pages
22
3+ permissions :
4+ contents : write
5+
36on :
47 push :
58 branches :
@@ -11,22 +14,27 @@ jobs:
1114 steps :
1215 - name : Checkout Repository ποΈ
1316 uses : actions/checkout@v4
14- with :
15- persist-credentials : false
1617
1718 - name : Setup Node.js π§
1819 uses : actions/setup-node@v4
1920 with :
2021 node-version : 18
22+ cache : ' npm'
2123
2224 - name : Install Dependencies π¦
2325 run : npm ci
2426
2527 - name : Build Documentation π
2628 run : npm run docs:build
2729
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
35+
2836 - name : Deploy to GitHub Pages π
29- uses : peaceiris/actions-gh- pages@v4
37+ uses : JamesIves/github- pages-deploy-action @v4
3038 with :
3139 github_token : ${{ secrets.GITHUB_TOKEN }}
3240 publish_dir : ./vitepress/dist
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export default defineConfig({
55 lang : 'en-US' ,
66 srcDir : 'src' ,
77 title : 'Aureus ERP' ,
8+ base : '/' ,
89 description : 'The powerful Open Source ERP platform built on Laravel' ,
910 head : [
1011 [ 'link' , { rel : 'icon' , href : '/favicon.ico' } ] ,
Original file line number Diff line number Diff line change 1+ devdocs.aureuserp.com
You canβt perform that action at this time.
0 commit comments