Skip to content

Commit c2e6a41

Browse files
authored
Update GitHub Actions workflow for deployment
1 parent de70fb6 commit c2e6a41

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build-and-deploy:
1013
runs-on: ubuntu-latest
@@ -21,7 +24,7 @@ jobs:
2124
run: npm ci
2225

2326
- name: Build VitePress site
24-
run: npx vitepress build docs
27+
run: npm run build
2528

2629
- name: Deploy to GitHub Pages
2730
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)