将 GitHub 仓库链接从 'anghunk/CWD' 统一更新为 'anghunk/cwd' 更新前端配置文档,增加 Vue 组件示例和其他框架说明 修改导航栏"部署文档"为"快速开始"
18 lines
460 B
YAML
18 lines
460 B
YAML
name: Build and Deploy
|
|
on: [push]
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@master
|
|
|
|
- name: vuepress-deploy
|
|
uses: jenkey2011/vuepress-deploy@master
|
|
env:
|
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
TARGET_REPO: anghunk/cwd
|
|
TARGET_BRANCH: gh-pages
|
|
BUILD_SCRIPT: yarn --cwd docs && yarn --cwd docs build
|
|
BUILD_DIR: docs/.vitepress/dist/
|