fes.js/.github/workflows/docs.yml
2020-09-25 17:59:16 +08:00

19 lines
486 B
YAML

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