"examples/git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "d53415bc105fa73e33f95b587699af07c761d77b"
Unverified Commit 05b8a8de authored by Frank Lee's avatar Frank Lee Committed by GitHub
Browse files

[workflow] changed to doc build to be on schedule and release (#3825)

* [workflow] changed to doc build to be on schedule and release

* polish code
parent 269150b6
name: Build Documentation After Merge name: Build Documentation On Schedule & After Release
on: on:
workflow_dispatch: workflow_dispatch:
push: schedule:
paths: - cron: "0 12 * * *" # build doc every day at 8pm Singapore time (12pm UTC time)
- "version.txt" release:
- "docs/**" types: [published]
branches:
- "main"
jobs: jobs:
build-doc: build-doc:
name: Trigger Documentation Build Workflow name: Trigger Documentation Build Workflow
if: ( github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true ) && github.repository == 'hpcaitech/ColossalAI' if: github.repository == 'hpcaitech/ColossalAI'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: trigger workflow in ColossalAI-Documentation - name: trigger workflow in ColossalAI-Documentation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment