Skip to content

Merge pull request #34 from kr4chinin/patch-2 #47

Merge pull request #34 from kr4chinin/patch-2

Merge pull request #34 from kr4chinin/patch-2 #47

Workflow file for this run

name: github pages
on:
push:
branches:
- master # default branch
workflow_dispatch: # 手动触发
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7.0.0
- name: Install deps
run: pnpm install
- name: Build
run: pnpm run build:website
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.CI_TOKEN }}
publish_dir: ./dist-website