From 521cf07dc0fb0636131ed314af43b83fd040dca4 Mon Sep 17 00:00:00 2001 From: David Oort Alonso Date: Fri, 18 Aug 2023 09:39:34 +0200 Subject: [PATCH] Update entrypoint.sh so that input_sync_dir only corresponds to a gs path --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 96f449d..2e55c6b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,7 +6,7 @@ rm /secrets.json # Sync files to bucket echo "Syncing bucket $BUCKET ..." -gsutil -m rsync -r -c -d -x "$INPUT_EXCLUDE" /github/workspace/$INPUT_SYNC_DIR gs://$INPUT_BUCKET/$INPUT_SYNC_DIR +gsutil -m rsync -r -c -d -x "$INPUT_EXCLUDE" /github/workspace/ gs://$INPUT_BUCKET/$INPUT_SYNC_DIR if [ $? -ne 0 ]; then echo "Syncing failed" exit 1