Skip to content

Merge pull request #104 from questionlp/fix-index-typo #90

Merge pull request #104 from questionlp/fix-index-typo

Merge pull request #104 from questionlp/fix-index-typo #90

Workflow file for this run

name: Github Pages
on:
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20
check-latest: true
cache: 'pnpm'
- name: Install Dependencies
run: |
pnpm install
- name: Check Dependencies
run: |
pnpm list --recursive
pnpm outdated --recursive || true
pnpm audit
- name: Check pnpm
run: |
pnpm doctor
- name: Build Docs
run: |
pnpm run build
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: docs/.vitepress/dist
cname: docs.sublimetext.io