Skip to content

gh-pages

gh-pages #142

Workflow file for this run

name: gh-pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Setting Up Node.js
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Deploy πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: src/.vuepress/dist