Skip to content

doc: vitepress locales #188

doc: vitepress locales

doc: vitepress locales #188

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
name: Docs
on:
push:
branches:
- main
paths:
- 'docs/**'
workflow_dispatch:
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# VuePress 需要完整提交历史来生成贡献者信息
with:
fetch-depth: 0
- uses: imaegoo/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.TWIKOO_TOKEN }}
TARGET_REPO: twikoojs/twikoo
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: cd docs && yarn && yarn docs:build
BUILD_DIR: .vitepress/dist
CNAME: twikoo.js.org