File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 BBS
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push events but only for the master 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 : batch-barcode-scanner-docs
24+ doc-url : batch-barcode-scanner/docs
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: batch-barcode-scanner-docs
32+ # doc-url: batch-barcode-scanner/docs
33+ # secrets: inherit
You can’t perform that action at this time.
0 commit comments