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

19 lines
486 B
YAML
Raw Normal View History

2020-09-14 16:59:46 +08:00
name: GitHub Actions Build and Deploy Docs
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: docs/.vuepress/dist
BUILD_SCRIPT: cd packages/fes-doc && npm install && npm run build