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

leonard pushed a commit to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-cdc.git


The following commit(s) were added to refs/heads/release-3.0 by this push:
     new 93d82c327 [FLINK-35447][doc-ci] Flink CDC Document document file had 
removed but website can access
93d82c327 is described below

commit 93d82c327d2ac86b07d295ed64b74c22967435ba
Author: gongzhongqiang <gongzhongqi...@apache.org>
AuthorDate: Tue May 28 10:57:28 2024 +0800

    [FLINK-35447][doc-ci] Flink CDC Document document file had removed but 
website can access
    
    This closes  #3368.
---
 .github/workflows/build_docs.yml | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml
index 55dbcd46f..9cbb69dbb 100644
--- a/.github/workflows/build_docs.yml
+++ b/.github/workflows/build_docs.yml
@@ -22,12 +22,6 @@ on:
       - release-*
     paths:
       - 'docs/**'
-  push:
-    paths:
-      - 'docs/**'
-    branches:
-      - master
-      - release-*
   schedule:
     - cron: '0 0 * * *' # Deploy every day
   workflow_dispatch:
@@ -92,7 +86,7 @@ jobs:
       - name: Upload documentation
         uses: burnett01/rsync-deployments@5.2
         with:
-          switches: --archive --compress
+          switches: --archive --compress --delete
           path: docs/target/
           remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH 
}}/flink/flink-cdc-docs-${{ env.flink_branch }}/
           remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
@@ -104,7 +98,7 @@ jobs:
         if: env.flink_alias != ''
         uses: burnett01/rsync-deployments@5.2
         with:
-          switches: --archive --compress
+          switches: --archive --compress --delete
           path: docs/target/
           remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH 
}}/flink/flink-cdc-docs-${{ env.flink_alias }}/
           remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}

Reply via email to