Skip to content

update workflow

update workflow #4

Workflow file for this run

name: Vuepress Document Deploy
on:
push:
branches:
- master
paths:
- 'doc-source/**'
- '.github/workflows/docs-deploy.yml'
jobs:
vuepress-doc-deploy:
runs-on: ubuntu-latest
steps:
- name: Clone master branch
uses: actions/checkout@v3.3.0
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: ${{ github.repository }}
TARGET_BRANCH: docs
BUILD_SCRIPT: |
git config --global --add safe.directory "*" \
&& cd doc-source && npm install --global yarn \
&& yarn -i && yarn docs:build
BUILD_DIR: ../docs