From 96128cd8f8593ebf828d2a3a80c64314fff6d307 Mon Sep 17 00:00:00 2001 From: Viraj Agarwal Date: Thu, 11 Dec 2025 13:14:53 +0530 Subject: [PATCH 1/2] DA-1245 add; the --delete option to the rsync command in the convert-notebooks.yml workflow --- .github/workflows/convert-notebooks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/convert-notebooks.yml b/.github/workflows/convert-notebooks.yml index 25e41ccd..3a4e2c33 100644 --- a/.github/workflows/convert-notebooks.yml +++ b/.github/workflows/convert-notebooks.yml @@ -38,7 +38,7 @@ jobs: - name: Copy converted files run: | - rsync -av --checksum --include="*.md" --exclude="*" util/convert/output_md/ couchbase-tutorials/tutorial/markdown/generated/vector-search-cookbook + rsync -av --checksum --include="*.md" --exclude="*" --delete util/convert/output_md/ couchbase-tutorials/tutorial/markdown/generated/vector-search-cookbook - name: Commit and push changes to couchbase-tutorials repo working-directory: couchbase-tutorials From f0beeca838a07002983efd0a1b4f182282c2b816 Mon Sep 17 00:00:00 2001 From: Viraj Agarwal Date: Thu, 11 Dec 2025 13:17:29 +0530 Subject: [PATCH 2/2] DA-1245 update: rsync command in convert-notebooks.yml to clarify file copying process --- .github/workflows/convert-notebooks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/convert-notebooks.yml b/.github/workflows/convert-notebooks.yml index 3a4e2c33..4c42e2bc 100644 --- a/.github/workflows/convert-notebooks.yml +++ b/.github/workflows/convert-notebooks.yml @@ -36,7 +36,7 @@ jobs: ssh-key: ${{ secrets.TUTORIAL_SSH_KEY }} path: couchbase-tutorials - - name: Copy converted files + - name: Copy converted files and delete old files run: | rsync -av --checksum --include="*.md" --exclude="*" --delete util/convert/output_md/ couchbase-tutorials/tutorial/markdown/generated/vector-search-cookbook