Skip to content

Commit 215f84c

Browse files
Updating build file
1 parent 97f758c commit 215f84c

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/main.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,26 @@ on:
1414
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1515
jobs:
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

.github/workflows/main_backup.md

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

0 commit comments

Comments
 (0)