Skip to content

Commit 87952e9

Browse files
committed
Fix: Vite permission issue
1 parent 7255404 commit 87952e9

File tree

5 files changed

+400
-1330
lines changed

5 files changed

+400
-1330
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,30 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches:
6-
- main # or 'master' if your main branch is named that
6+
- main
77

88
jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- name: Checkout repo
13+
- name: Checkout code
1414
uses: actions/checkout@v3
1515

16-
- name: Setup Node
16+
- name: Setup Node.js
1717
uses: actions/setup-node@v3
1818
with:
1919
node-version: 18
2020

2121
- name: Install dependencies
22-
run: npm install
22+
run: npm ci
2323

24-
- name: Build project
24+
- name: Build
2525
run: npm run build
2626

2727
- name: Deploy to GitHub Pages
2828
uses: peaceiris/actions-gh-pages@v4
2929
with:
3030
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
publish_dir: ./dist # for Vite
31+
publish_dir: ./dist
3232
publish_branch: gh-pages

0 commit comments

Comments
 (0)