Skip to content

Merge pull request #703 from Stichoza/patch-1 #19

Merge pull request #703 from Stichoza/patch-1

Merge pull request #703 from Stichoza/patch-1 #19

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- docs
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: 'docs'
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build VuePress
run: npm run docs:build
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: docs/.vuepress/dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}