Skip to content

Add zotfile to hello-zotero-7 and styles tweak (#3) #6

Add zotfile to hello-zotero-7 and styles tweak (#3)

Add zotfile to hello-zotero-7 and styles tweak (#3) #6

Workflow file for this run

name: ci
on:
push:
branches:
- main
workflow_dispatch:
jobs:
main:
if: github.repository == 'zotero-chinese/blog' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- name: 签出仓库
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 设置 pnpm
uses: pnpm/action-setup@v3
with:
version: 9
- name: 设置 Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: 安装依赖
run: pnpm install
- name: 检查格式
run: |-
pnpm run lint
- name: 构建文档
run: |-
pnpm run docs:build
> .vitepress/dist/.nojekyll
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
repository: zotero-chinese/website
event-type: update-triggered-by-blog-repo