Skip to content

Merge pull request #53 from huixisheng/hotfix-QyJsTicketApi-cache-error #30

Merge pull request #53 from huixisheng/hotfix-QyJsTicketApi-cache-error

Merge pull request #53 from huixisheng/hotfix-QyJsTicketApi-cache-error #30

Workflow file for this run

name: Build and Deploy Doc
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
with:
ref: master
- name: install node
uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org/
- name: Duild
run: |
npm install -g yarn
cd docs
yarn
yarn run docs:build
pwd
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./docs/docs/.vuepress/dist
force_orphan: true
commit_message: ':memo: deploy docs'