Skip to content

feat(内核): 换模拟数据端点 #33

feat(内核): 换模拟数据端点

feat(内核): 换模拟数据端点 #33

Workflow file for this run

name: Publish Docs
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install pageforge -g
- name: Build
run: |
cd docs
pageforge build
echo 'lightcall.devlive.org' > dist/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: docs/dist