Files
cwd/.github/workflows/docs.yml
anghunk 13f5d51079 ci: 精简 GitHub Actions 工作流名称并删除冗余 LICENSE 文件
- 缩短工作流名称以提升可读性
- 删除文档目录下重复的许可证文件
2026-01-31 11:54:25 +08:00

20 lines
500 B
YAML

name: Build and Deploy Docs
on: [push]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: anghunk/cwd
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: yarn --cwd docs && yarn --cwd docs build
BUILD_DIR: docs/.vitepress/dist/