feat: add provideService #120
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 发布到github pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 获取源码 🛎️ | |
uses: actions/[email protected] | |
- name: 安装依赖和构建 🔧 | |
run: | | |
npm i pnpm -g | |
pnpm install | |
pnpm run docs:build | |
- name: 部署 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: docs/.vitepress/dist # The folder the action should deploy. |