Skip to content

chore: fix doc deployment #160

chore: fix doc deployment

chore: fix doc deployment #160

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v6
with:
persist-credentials: false
- uses: actions/setup-node@v6
with:
node-version: 18
- name: Install and Build 🔧
run: |
yarn install --ignore-engines
yarn docs.build
- name: Deploy 🚀
if: github.event_name == 'push'
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/.vuepress/dist