You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/03/16 22:28:12 UTC
[flink] branch master updated: [FLINK-26658][docs] Setup cron builds
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 736e596 [FLINK-26658][docs] Setup cron builds
736e596 is described below
commit 736e596276806a1c1b3838be63210eee179a72a6
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Wed Mar 16 23:22:41 2022 +0100
[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 64b6606..8a53597 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)