From 736e596276806a1c1b3838be63210eee179a72a6 Mon Sep 17 00:00:00 2001 From: Chesnay Schepler Date: Wed, 16 Mar 2022 23:22:41 +0100 Subject: [PATCH] [FLINK-26658][docs] Setup cron builds --- .github/workflows/docs.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 64b6606e3b808..8a535970b158d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,22 +15,23 @@ name: "Build documentation" on: - workflow_dispatch: - inputs: - branch: - required: true - type: choice + schedule: + - cron: '0 0 * * *' # Deploy every day + +jobs: + build-documentation: + if: github.repository == 'apache/flink' + runs-on: ubuntu-latest + strategy: + max-parallel: 1 + matrix: + branch: - master - release-1.15 - release-1.14 - release-1.13 -jobs: - build-documentation: - runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - ref: ${{ github.event.inputs.branch }} - name: Set branch environment variable run: | currentBranch=$(git branch --show-current)