Skip to content

Commit

Permalink
[FLINK-26658][docs] Setup cron builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Mar 16, 2022
1 parent d03b063 commit 736e596
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 736e596

Please sign in to comment.