Skip to content

Commit 94bc629

Browse files
committed
resolved conflicts.
2 parents d8c6872 + b469f2d commit 94bc629

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

β€Ž.github/workflows/deploy.ymlβ€Ž

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Deploy to GitHub Pages
22

3+
permissions:
4+
contents: write
5+
36
on:
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

β€Ž.vitepress/config.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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' }],

β€ŽCNAMEβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
devdocs.aureuserp.com

0 commit comments

Comments
Β (0)