Skip to content

Commit

Permalink
Merge pull request #10 from klips-project/minor-fixes
Browse files Browse the repository at this point in the history
Fix: Specify build folder in deploy script
  • Loading branch information
sdobbert authored Mar 12, 2024
2 parents 68abd84 + 4b69600 commit 7c2d3a4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ jobs:
- name: Install slidev
run: npm i -g @slidev/cli
- name: Build
run: |
slidev build --base /${{ github.event.repository.name }}/
cp dist/index.html dist/404.html
run: slidev build --base /${{ github.event.repository.name }}/ --out /${{ github.event.repository.name }}/dist
- name: Deploy pages
uses: crazy-max/ghaction-github-pages@v4.0.0
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: dist
env:
Expand Down

0 comments on commit 7c2d3a4

Please sign in to comment.