|
|
|
@ -37,7 +37,7 @@ concurrency:
|
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
check-documentation:
|
|
|
|
|
check-doc:
|
|
|
|
|
if: github.repository == 'apache/flink-cdc'
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
@ -46,15 +46,16 @@ jobs:
|
|
|
|
|
uses: gaurav-nelson/github-action-markdown-link-check@1.0.15
|
|
|
|
|
with:
|
|
|
|
|
config-file: '.dlc.json'
|
|
|
|
|
- name: Build documentation
|
|
|
|
|
- name: Build doc
|
|
|
|
|
run: |
|
|
|
|
|
docker run --rm --volume "$PWD:/root/flink-cdc" chesnay/flink-ci:java_8_11_17_21_maven_386 bash -c "cd /root/flink-cdc && chmod +x ./.github/workflows/docs.sh && ./.github/workflows/docs.sh"
|
|
|
|
|
|
|
|
|
|
build-documentation:
|
|
|
|
|
if: github.event_name != 'pull_request' && github.repository == 'apache/flink-cdc'
|
|
|
|
|
name: "Check and build documentation"
|
|
|
|
|
name: "Check and build doc"
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
strategy:
|
|
|
|
|
fail-fast: false
|
|
|
|
|
max-parallel: 1
|
|
|
|
|
matrix:
|
|
|
|
|
branch:
|
|
|
|
|