Skip to content

Commit

Permalink
chore: fix ci & commands
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-solanki committed Jul 14, 2023
1 parent 6403e0a commit 6baee53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Install slidev
run: pnpm add -g @slidev/cli

- name: Build
run: slidev build example.md --base slidev-theme-dracula
- name: Build slidev examples
run: pnpm run gen:demos

- name: Convert index.md to index.html
uses: jd-solanki/gh-action-md-to-html@v1.2.0
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"slidev": ">=0.19.3"
},
"scripts": {
"build": "tsx scripts/build.ts",
"build": "slidev build example.md",
"gen:demos": "tsx scripts/build.ts",
"dev": "slidev slides/example.md --open",
"dev:layouts": "slidev slides/layouts.md --open",
"export": "slidev export slides/example.md",
Expand Down

0 comments on commit 6baee53

Please sign in to comment.