fes.js/.github/workflows/docs.yml

21 lines
476 B
YAML
Raw Normal View History

name: Deploy Docs
on:
push:
branches:
2021-07-05 11:24:26 +08:00
- master
paths:
2021-05-28 15:26:10 +08:00
- 'docs/**/**'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
env:
2021-05-28 15:26:10 +08:00
ACCESS_TOKEN: ${{ secrets.QLIN_GITEE_TOKEN }}
BRANCH: master
FOLDER: docs/.vuepress/dist
BUILD_SCRIPT: npm install && npm run docs:build