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:29:15 UTC
[flink] branch release-1.13 updated: [FLINK-26658][docs] Remove workflow file
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.13 by this push:
new 7c50872 [FLINK-26658][docs] Remove workflow file
7c50872 is described below
commit 7c508722bc3f5ba67a2739e578460f488ebe8ebf
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Wed Mar 16 23:28:39 2022 +0100
[FLINK-26658][docs] Remove workflow file
---
.github/workflows/docs.yml | 58 ----------------------------------------------
1 file changed, 58 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
deleted file mode 100644
index a271167..0000000
--- a/.github/workflows/docs.yml
+++ /dev/null
@@ -1,58 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-name: "Build documentation"
-on:
- workflow_dispatch:
-jobs:
- build-documentation:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - name: Set branch environment variable
- run: |
- currentBranch=$(git branch --show-current)
-
- echo "flink_branch=${currentBranch}" >> ${GITHUB_ENV}
-
- if [ "${currentBranch}" = "master" ]; then
- echo "flink_alias=release-1.16" >> ${GITHUB_ENV}
- elif [ "${currentBranch}" = "release-1.14" ]; then
- echo "flink_alias=stable" >> ${GITHUB_ENV}
- fi
- - name: Build documentation
- run: |
- docker run --rm --volume "$PWD:/root/flink" chesnay/flink-ci:java_8_11 bash -c "cd /root/flink && ./.github/workflows/docs.sh"
- - name: Upload documentation
- uses: burnett01/rsync-deployments@5.2
- with:
- switches: --archive --compress
- path: docs/target/
- remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/flink/flink-docs-${{ env.flink_branch }}/
- remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
- remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
- remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
- remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}
- - name: Upload documentation alias
- if: env.flink_alias != ''
- uses: burnett01/rsync-deployments@5.2
- with:
- switches: --archive --compress
- path: docs/target/
- remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/flink/flink-docs-${{ env.flink_alias }}/
- remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
- remote_port: ${{ secrets.NIGHTLIES_RSYNC_PORT }}
- remote_user: ${{ secrets.NIGHTLIES_RSYNC_USER }}
- remote_key: ${{ secrets.NIGHTLIES_RSYNC_KEY }}