diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000..11a4c68 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,20 @@ +name: slidev-theme-shodo +on: + push: + branches: + - main +jobs: + build-on-deploy: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4.1.7 + - name: install & build + run: | + npm ci + npm run build + - name: deploy + uses: JamesIves/github-pages-deploy-action@v4.6.1 + with: + branch: gh-pages + folder: dist