Skip to content

Commit

Permalink
Merge pull request #11 from klips-project/update-deploy
Browse files Browse the repository at this point in the history
Fix: update deploy script
  • Loading branch information
sdobbert authored Mar 12, 2024
2 parents 7c2d3a4 + 7d8cb45 commit 5adda01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Install slidev
run: npm i -g @slidev/cli
- name: Build
run: slidev build --base /${{ github.event.repository.name }}/ --out /${{ github.event.repository.name }}/dist
- name: Deploy pages
uses: crazy-max/ghaction-github-pages@v2
run: slidev build --base /${{ github.event.repository.name }}/
- name: Deploy gh-pages 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: dist

0 comments on commit 5adda01

Please sign in to comment.