Skip to content

Commit e35844d

Browse files
committed
Updated deploy.yml
1 parent f8b2a25 commit e35844d

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,16 @@ jobs:
55
deploy:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
9-
- uses: actions/setup-node@v2
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-node@v4
1010
with:
11-
node-version: '14'
11+
node-version: '18'
1212
- name: Install dependencies
13-
run: npm install
14-
- name: Install slidev
15-
run: npm i -g @slidev/cli
13+
run: yarn install
1614
- name: Build
17-
run: slidev build
15+
run: yarn run build
1816
- name: Deploy pages
19-
uses: crazy-max/ghaction-github-pages@v2
17+
uses: crazy-max/ghaction-github-pages@v4
2018
with:
2119
build_dir: dist
2220
env:

0 commit comments

Comments
 (0)