File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 1
1
name : Deploy to GitHub Pages
2
2
3
- permissions :
4
- contents : write
5
-
6
3
on :
7
4
push :
8
5
branches :
@@ -14,31 +11,23 @@ jobs:
14
11
steps :
15
12
- name : Checkout Repository 🛎️
16
13
uses : actions/checkout@v4
14
+ with :
15
+ persist-credentials : false
17
16
18
17
- name : Setup Node.js 🔧
19
18
uses : actions/setup-node@v4
20
19
with :
21
20
node-version : 18
22
- cache : ' npm'
23
21
24
22
- name : Install Dependencies 📦
25
23
run : npm ci
26
24
27
25
- name : Build Documentation 🏗
28
26
run : npm run docs:build
29
27
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
-
36
28
- name : Deploy to GitHub Pages 🚀
37
- uses : JamesIves/github-pages-deploy-action @v4
29
+ uses : peaceiris/actions-gh-pages @v4
38
30
with :
39
31
github_token : ${{ secrets.GITHUB_TOKEN }}
40
32
publish_dir : ./vitepress/dist
41
- path : ./vitepress/dist
42
- publish_branch : gh-pages
43
- publish_repo : ${{ github.repository }}
44
33
cname : devdocs.aureuserp.com
You can’t perform that action at this time.
0 commit comments