Skip to content

Merge pull request #10 from klips-project/minor-fixes #12

Merge pull request #10 from klips-project/minor-fixes

Merge pull request #10 from klips-project/minor-fixes #12

Workflow file for this run

name: Deploy pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- 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
with:
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}