Skip to content

更新贡献指南中的投稿人署名方式 (#422) #385

更新贡献指南中的投稿人署名方式 (#422)

更新贡献指南中的投稿人署名方式 (#422) #385

Workflow file for this run

name: 部署文档
on:
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v3
with:
version: latest
- uses: actions/setup-node@v4
with:
cache: pnpm
- name: Install
run: pnpm install
- name: Build
run: pnpm build
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_PAGES_ACCOUNT }}
projectName: rle-wiki
directory: docs/.vitepress/dist
wranglerVersion: '3'