Skip to content

Commit e9a5829

Browse files
committed
[FLINK-35447][doc-ci] Flink CDC Document document file had removed but website can access
1 parent 8e8fd30 commit e9a5829

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/build_docs.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ on:
2222
- release-*
2323
paths:
2424
- 'docs/**'
25-
push:
26-
paths:
27-
- 'docs/**'
28-
branches:
29-
- master
30-
- release-*
3125
schedule:
3226
- cron: '0 0 * * *' # Deploy every day
3327
workflow_dispatch:
@@ -92,7 +86,7 @@ jobs:
9286
- name: Upload documentation
9387
uses: burnett01/rsync-deployments@5.2
9488
with:
95-
switches: --archive --compress
89+
switches: --archive --compress --delete
9690
path: docs/target/
9791
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/flink/flink-cdc-docs-${{ env.flink_branch }}/
9892
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}
@@ -104,7 +98,7 @@ jobs:
10498
if: env.flink_alias != ''
10599
uses: burnett01/rsync-deployments@5.2
106100
with:
107-
switches: --archive --compress
101+
switches: --archive --compress --delete
108102
path: docs/target/
109103
remote_path: ${{ secrets.NIGHTLIES_RSYNC_PATH }}/flink/flink-cdc-docs-${{ env.flink_alias }}/
110104
remote_host: ${{ secrets.NIGHTLIES_RSYNC_HOST }}

0 commit comments

Comments
 (0)