Skip to content

chore: 更新google analytics #222

chore: 更新google analytics

chore: 更新google analytics #222

Workflow file for this run

name: Doc Page Publish
on:
push:
branches: [main-docs]
pull_request:
branches: [main-docs]
jobs:
publish:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: '20'
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: yarn install
- name: Generate Static Files
run: yarn generate
- name: Publish to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: docs
folder: .output/public
# 直接覆盖到根目录,不再使用docs作为发布目录了
# target-folder: docs