mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-29 21:44:32 +00:00
move docs CI/CD to independent unit
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
8cd90f4708
commit
e3c3af3a79
14
.github/workflows/cd-docs.yml
vendored
Normal file
14
.github/workflows/cd-docs.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
name: "Run Docs CD"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
|
||||
jobs:
|
||||
build-deploy-docs:
|
||||
uses: ./.github/workflows/docs.yml
|
||||
with:
|
||||
deploy: true
|
||||
permissions:
|
||||
contents: write
|
6
.github/workflows/cd.yml
vendored
6
.github/workflows/cd.yml
vendored
@ -10,12 +10,6 @@ env:
|
||||
jobs:
|
||||
code-checks:
|
||||
uses: ./.github/workflows/checks.yml
|
||||
build-deploy-docs:
|
||||
uses: ./.github/workflows/docs.yml
|
||||
with:
|
||||
deploy: true
|
||||
permissions:
|
||||
contents: write
|
||||
pre-release-check:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
16
.github/workflows/ci-docs.yml
vendored
Normal file
16
.github/workflows/ci-docs.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
name: "Run Docs CI"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
- "!gh-pages"
|
||||
|
||||
jobs:
|
||||
build-docs:
|
||||
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling') }}
|
||||
uses: ./.github/workflows/docs.yml
|
||||
with:
|
||||
deploy: false
|
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
- "!main"
|
||||
- "!gh-pages"
|
||||
|
||||
env:
|
||||
@ -16,8 +17,3 @@ jobs:
|
||||
code-checks:
|
||||
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling') }}
|
||||
uses: ./.github/workflows/checks.yml
|
||||
build-docs:
|
||||
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling') }}
|
||||
uses: ./.github/workflows/docs.yml
|
||||
with:
|
||||
deploy: false
|
||||
|
Loading…
Reference in New Issue
Block a user