Skip to content

fix ci

fix ci #66

Workflow file for this run

name: Github Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: true
- uses: pnpm/action-setup@v2
with:
version: 8.10.0
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm' # Cache pnpm modules
- name: Install Dependencies
run: pnpm install
- name: Build Docs
run: pnpm run dev:build
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: docs/.vitepress/dist
cname: docs.sublimetext.io