Skip to content

update workflow

update workflow #2

Workflow file for this run

name: Document Build and Deploy
on:
push:
branches:
- master
paths:
- 'doc-source/**'
- '.github/workflows/docs-deploy.yml'
jobs:
build-and-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 && npm run docs:build
BUILD_DIR: ../docs