Skip to content

增加测试方法 #228

增加测试方法

增加测试方法 #228

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Build
run: |
cd site && pnpm i && pnpm build && cd -
mv site/out ./
cp CNAME out/
mv agreement out/agreement
cp .nojekyll out/
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out