File tree Expand file tree Collapse file tree 2 files changed +40
-1
lines changed
Expand file tree Collapse file tree 2 files changed +40
-1
lines changed Original file line number Diff line number Diff line change 1414# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1515jobs :
1616 # This workflow contains jobs called "Build-Main" and "Build-Preview"
17+ # Build-Main:
18+ # if: ${{ github.ref == 'refs/heads/main' }}
19+ # uses: dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-production.yml@main
20+ # with:
21+ # doc-repo: license-server-docs
22+ # doc-url: license-server/docs
23+ # secrets: inherit
24+
1725 Build-Main :
1826 if : ${{ github.ref == 'refs/heads/main' }}
1927 uses : dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-production.yml@main
2028 with :
2129 doc-repo : license-server-docs
2230 doc-url : license-server/docs
2331 secrets : inherit
24-
32+
33+ Build-Preview :
34+ if : ${{ github.ref == 'refs/heads/preview' }}
35+ uses : dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-testing.yml@preview
36+ with :
37+ doc-repo : license-server-docs
38+ doc-url : license-server/docs
39+ secrets : inherit
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+ push:
8+ branches:
9+ - main
10+
11+ # Allows you to run this workflow manually from the Actions tab
12+ workflow_dispatch:
13+
14+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+ jobs:
16+ # This workflow contains jobs called "Build-Main" and "Build-Preview"
17+ Build-Main:
18+ if: ${{ github.ref == 'refs/heads/main' }}
19+ uses: dynamsoft-docs/Docs-Template-Repo/.github/workflows/called-workflow-build-sync-production.yml@main
20+ with:
21+ doc-repo: license-server-docs
22+ doc-url: license-server/docs
23+ secrets: inherit
24+
You can’t perform that action at this time.
0 commit comments