Skip to content

🎉feat(all): ipv6 归属地显示,链接改为 RSC,评论支持置顶与查看,记录页面 RSC 重建 #42

🎉feat(all): ipv6 归属地显示,链接改为 RSC,评论支持置顶与查看,记录页面 RSC 重建

🎉feat(all): ipv6 归属地显示,链接改为 RSC,评论支持置顶与查看,记录页面 RSC 重建 #42

Workflow file for this run

name: Deploy VitePress site to Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies
run: |
cd docs
pnpm install
- name: Build with VitePress
run: |
cd docs
pnpm run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/.vitepress/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4