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/15 13:28:38 UTC

[flink] branch experiment_gha_docs updated (c21ebdf -> 759e294)

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a change to branch experiment_gha_docs
in repository https://gitbox.apache.org/repos/asf/flink.git.


    from c21ebdf  test
     new 5b6fa92  add license
     new 759e294  Attempt actual upload

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/docs.yml | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)

[flink] 01/02: add license

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch experiment_gha_docs
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 5b6fa92d03778248e906fd62066d7aceb5b57845
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Tue Mar 15 14:27:28 2022 +0100

    add license
---
 .github/workflows/docs.yml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index b0bd70d..395dbf2 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -1,3 +1,18 @@
+# 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.
+
 on:
   push:
     branches: [experiment_gha_docs]

[flink] 02/02: Attempt actual upload

Posted by ch...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch experiment_gha_docs
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 759e294da04210f4a8d392c5e11b9ee7aaa0abef
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Tue Mar 15 14:27:54 2022 +0100

    Attempt actual upload
---
 .github/workflows/docs.yml | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 395dbf2..665f6d7 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -19,9 +19,24 @@ on:
 jobs:
   build-documentation:
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        branch: [experiment_gha_docs]
     steps:
-      - uses: actions/checkout@v2
-      - name: Print current branch
+      - uses: actions/checkout@master
+      - name: Build docker image
         run: |
-          currentBranch=$(git branch --show-current)
-          echo "${currentBranch}"
\ No newline at end of file
+          docker build -t docs docs/docker
+      - name: Build documentation
+        run: |
+          docker run  --rm --volume "$PWD:/root/flink" docs bash -c "cd /root/flink && ./docs/ci.sh"
+      - name: Upload documentation
+        uses: burnett01/rsync-deployments@5.2
+        with:
+          switches: --archive --verbose --compress
+          path: docs/target/
+          remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/flink/testing-flink-docs-${{ matrix.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 }}
\ No newline at end of file