This is an automated email from the ASF dual-hosted git repository. mbalassi pushed a commit to branch release-0.1 in repository https://gitbox.apache.org/repos/asf/flink-kubernetes-operator.git
commit aa8a8491b4bb6dbd436a02b7c7c303839ec5bde8 Author: Marton Balassi <[email protected]> AuthorDate: Fri Apr 1 14:43:07 2022 +0200 [FLINK-26991][docs] Limits docs build to main repo and to only relevant branches. --- .github/workflows/docs.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 304b8a3..a054198 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -21,7 +21,14 @@ on: workflow_dispatch: jobs: build-documentation: + if: github.repository == 'apache/flink-kubernetes-operator' runs-on: ubuntu-latest + strategy: + max-parallel: 1 + matrix: + branch: + - main + - release-0.1 steps: - uses: actions/checkout@main - name: Set branch environment variable @@ -33,7 +40,7 @@ jobs: echo "flink_branch=${currentBranch}" >> ${GITHUB_ENV} if [ "${currentBranch} = "main" ]; then echo "flink_alias=release-1.0" >> ${GITHUB_ENV} - elif [ "${currentBranch} = "release-1.14" ]; then + elif [ "${currentBranch} = "release-0.1" ]; then echo "flink_alias=stable" >> ${GITHUB_ENV} fi - name: Build documentation
