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 <[email protected]> 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/[email protected] + 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
