From 2819e932121861d2fe5db5497d84578e63e427f4 Mon Sep 17 00:00:00 2001 From: James Humphries Date: Mon, 20 Nov 2023 13:28:27 +0000 Subject: [PATCH] Added flags to improve rclone performance Signed-off-by: James Humphries --- .github/workflows/generate-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/generate-and-deploy.yml b/.github/workflows/generate-and-deploy.yml index 4d89228b6a..d1c169593a 100644 --- a/.github/workflows/generate-and-deploy.yml +++ b/.github/workflows/generate-and-deploy.yml @@ -26,7 +26,7 @@ jobs: run: go run ./cmd/generate-v1 --destination ../generated - name: Sync Data to R2 - run: rclone sync ./generated R2:${{ secrets.R2_BUCKET_NAME }} + run: rclone sync -v -P --checkers=512 --transfers=512 --checksum --fast-list ./generated R2:${{ secrets.R2_BUCKET_NAME }} env: # R2 credentials should be stored as GitHub secrets RCLONE_CONFIG_R2_TYPE: s3