Skip to content

Commit

Permalink
(debug) remove rsync logic for test run
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp committed Apr 2, 2024
1 parent 188a952 commit 4aedf02
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:

jobs:
extract-release-branches:
if: github.repository == 'apache/flink'
# if: github.repository == 'apache/flink'
runs-on: "ubuntu-latest"
outputs:
matrix_config: ${{ steps.matrix_generation_step.outputs.matrix_config }}
Expand Down Expand Up @@ -82,23 +82,7 @@ jobs:
run: |
docker run --rm --volume "$PWD:/root/flink" chesnay/flink-ci:java_8_11_17_21_maven_386 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 }}
run: echo "${{ matrix.branch }}"
- name: Upload documentation alias
if: matrix.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 }}
run: echo "${{ matrix.alias }}"

0 comments on commit 4aedf02

Please sign in to comment.