File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ name: CI BBS
55# Controls when the workflow will run
66on :
77 # Triggers the workflow on push events but only for the master branch
8- # push:
9- # branches:
10- # - main
11- # - preview
8+ push :
9+ branches :
10+ - main
11+ - preview
1212
1313 # Allows you to run this workflow manually from the Actions tab
1414 workflow_dispatch :
@@ -24,10 +24,10 @@ jobs:
2424 doc-url : batch-barcode-scanner/docs
2525 secrets : inherit
2626
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
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