Skip to content

Commit

Permalink
Update Slidev build command and remove unnecessary script
Browse files Browse the repository at this point in the history
  • Loading branch information
Wiederholung committed Jan 26, 2024
1 parent e509060 commit e3f2bdf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/slidev-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
cd slidev/
echo "REPO_NAME=$(echo ${{ github.repository }} | cut -d'/' -f2)" >> $GITHUB_ENV
npm run build --base=/$REPO_NAME/
npx slidev build --base /$REPO_NAME/
- name: Fix permissions
run: |
chmod -c -R +rX "slidev/dist/" | while read line; do
Expand Down
3 changes: 0 additions & 3 deletions slidev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"type": "module",
"version": "0.46.3",
"private": true,
"scripts": {
"build": "slidev build"
},
"dependencies": {
"@slidev/cli": "^0.46.3",
"@slidev/theme-default": "^0.21.2",
Expand Down

0 comments on commit e3f2bdf

Please sign in to comment.