Skip to content

docs: update README.md #14

docs: update README.md

docs: update README.md #14

name: Build and Deploy
on: [push]
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: Chef5/const-weapp
TARGET_BRANCH: gh-pages # 部署到分支,默认gh-pages
BUILD_SCRIPT: git config --global --add safe.directory "*" && npm i && npm run docs:build
BUILD_DIR: src/.vuepress/dist