Skip to content

Commit e992fa7

Browse files
authored
enable CI
1 parent 03f460e commit e992fa7

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ name: CI BBS
55
# Controls when the workflow will run
66
on:
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

0 commit comments

Comments
 (0)