Skip to content

chore: release

chore: release #5

Workflow file for this run

name: Docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-20.04
if: "!contains(github.event.head_commit.message, 'chore: release')"
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18.14.2'
cache: 'npm'
- name: Install
run: npm ci
- name: Build
run: npm run build -- --projects docs
- name: Deploy
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./docs/.vitepress/dist