Skip to content

Commit 11aa2cf

Browse files
committed
ci: fix deploy to gh pages
1 parent 4516cc8 commit 11aa2cf

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/docs.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,13 @@ jobs:
2424
with:
2525
node-version: 20
2626
check-latest: true
27-
- name: Install dependencies
28-
run: npm install
29-
- name: Install dependencies for docs folder
27+
- run: npm install
28+
- run: npm install
3029
working-directory: docs
31-
run: npm install
32-
- name: Build
30+
- run: npm run build
3331
working-directory: docs
34-
run: npm run build
35-
- uses: actions/upload-pages-artifact@v1
32+
- uses: actions/upload-pages-artifact@v3
3633
with:
3734
path: docs/out
38-
- name: Deploy
35+
- uses: actions/deploy-pages@v4
3936
id: deployment
40-
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)