Skip to content

Commit a401115

Browse files
committed
revert changes.
1 parent 94bc629 commit a401115

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/deploy.yml

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

3-
permissions:
4-
contents: write
5-
63
on:
74
push:
85
branches:
@@ -14,31 +11,23 @@ jobs:
1411
steps:
1512
- name: Checkout Repository 🛎️
1613
uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
1716

1817
- name: Setup Node.js 🔧
1918
uses: actions/setup-node@v4
2019
with:
2120
node-version: 18
22-
cache: 'npm'
2321

2422
- name: Install Dependencies 📦
2523
run: npm ci
2624

2725
- name: Build Documentation 🏗
2826
run: npm run docs:build
2927

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-
3628
- name: Deploy to GitHub Pages 🚀
37-
uses: JamesIves/github-pages-deploy-action@v4
29+
uses: peaceiris/actions-gh-pages@v4
3830
with:
3931
github_token: ${{ secrets.GITHUB_TOKEN }}
4032
publish_dir: ./vitepress/dist
41-
path: ./vitepress/dist
42-
publish_branch: gh-pages
43-
publish_repo: ${{ github.repository }}
4433
cname: devdocs.aureuserp.com

0 commit comments

Comments
 (0)