Skip to content

docs: Added Baidu Analytics tracking code. #74

docs: Added Baidu Analytics tracking code.

docs: Added Baidu Analytics tracking code. #74

Workflow file for this run

name: gh-pages
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: write
jobs:
charts-meta:
uses: ./.github/workflows/charts-meta.yml
deploy:
needs: [charts-meta]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install pnpm
uses: pnpm/action-setup@v3
- name: Install dependencies
run: pnpm install
- name: Build documentation site
run: pnpm --filter=docs build
- name: Deploy to GitHub Pages
uses: crazy-max/[email protected]
with:
target_branch: gh-pages
build_dir: docs/.vitepress/dist
fqdn: charts.wuxian.space
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}