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

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


The following commit(s) were added to refs/heads/master by this push:
     new b1841c0ff34 [FLINK-35484][docs] Fix the issue that document files had 
been removed but website still can access
b1841c0ff34 is described below

commit b1841c0ff34b6e8d118139f6f87b7fdf06afacd3
Author: gongzhongqiang <[email protected]>
AuthorDate: Thu May 30 18:30:59 2024 +0800

    [FLINK-35484][docs] Fix the issue that document files had been removed but 
website still can access
    
    This closes #24870.
---
 .github/workflows/docs.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index eb966addd6d..03ab7ee31ff 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -52,7 +52,7 @@ jobs:
       - name: Upload documentation
         uses: burnett01/[email protected]
         with:
-          switches: --archive --compress
+          switches: --archive --compress --delete
           path: docs/target/
           remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH 
}}/flink/flink-docs-${{ env.flink_branch }}/
           remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
@@ -63,7 +63,7 @@ jobs:
         if: env.flink_alias != ''
         uses: burnett01/[email protected]
         with:
-          switches: --archive --compress
+          switches: --archive --compress --delete
           path: docs/target/
           remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH 
}}/flink/flink-docs-${{ env.flink_alias }}/
           remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}

Reply via email to