Skip to content

Merge pull request #905 from zhensherlock/dev #644

Merge pull request #905 from zhensherlock/dev

Merge pull request #905 from zhensherlock/dev #644

Workflow file for this run

name: deploy
on:
push:
branches:
- main
jobs:
deploy:
if: github.repository == 'zhensherlock/company-autocomplete'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 16
cache: npm
- name: Install Package
run: npm ci
- name: Build Docs Package
run: npm run docs:build
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist
# cname: example.com # if wanna deploy to custom domain