File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push events but only for the main branch
8+ push :
9+ branches :
10+ - main
11+ # - preview
12+
13+ # Allows you to run this workflow manually from the Actions tab
14+ workflow_dispatch :
15+
16+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+ jobs :
18+ # This workflow contains jobs called "Build-main" and "Build-Preview"
19+ Build-Main :
20+ if : ${{ github.ref == 'refs/heads/main' }}
21+ uses : dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-production.yml@main
22+ with :
23+ doc-repo : code-parser-docs-js
24+ doc-url : code-parser/docs/web
25+ secrets : inherit
26+
27+ Build-Preview :
28+ if : ${{ github.ref == 'refs/heads/preview' }}
29+ uses : dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-testing.yml@preview
30+ with :
31+ doc-repo : code-parser-docs-js
32+ doc-url : code-parser/docs/web
33+ secrets : inherit
34+
35+ Build-v2 :
36+ if : ${{ github.ref == 'refs/heads/v2' }}
37+ uses : dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-production.yml@DCV-v2
38+ with :
39+ doc-repo : code-parser-docs-js
40+ doc-url : code-parser/docs/v2/web
41+ doc-branch : v2
42+ secrets : inherit
You can’t perform that action at this time.
0 commit comments