Skip to content

Commit dd7125e

Browse files
update to internal commit a65b9eda
1 parent cdea3c5 commit dd7125e

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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

0 commit comments

Comments
 (0)