Skip to content

Merge branch 'overseas' of https://github.com/CodePhiliaX/Chat2DB-Doc… #524

Merge branch 'overseas' of https://github.com/CodePhiliaX/Chat2DB-Doc…

Merge branch 'overseas' of https://github.com/CodePhiliaX/Chat2DB-Doc… #524

Workflow file for this run

# # 当前工作流的名字 随便取
# name: Build Docusaurus Test
# # 指定 workflow 触发的 event
# # 在dev分支提交的时候触发
# on:
# push:
# branches:
# - dev
# # 一个 workflow 由一个或多个 job 组成
# jobs:
# # job id: 是 job 的唯一标识
# build_and_deploy:
# # 在 Github 中显示的 job 名称
# name: Build and Deploy
# # job 运行的环境配置
# runs-on: ubuntu-latest
# # 一个 job 由多个 step 组成
# steps:
# - uses: actions/checkout@v2
# - name: Init environment
# uses: ./.github/actions/init
# - name: Build
# run:
# pnpm build
# # 把文件上传到OSS
# - name: Set up oss utils
# uses: yizhoumo/setup-ossutil@v1
# with:
# endpoint: "oss-cn-zhangjiakou.aliyuncs.com"
# access-key-id: ${{ secrets.OSS_ACCESS_KEY_ID }}
# access-key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }}
# ossutil-version: '1.7.16'
# - name: Upload to oss
# run: |
# ossutil cp -rf --acl=public-read ./build/ oss://chat2db-doc-test/