From a5a18b526ea05fe472f3dc4c20be6885cb7ca800 Mon Sep 17 00:00:00 2001 From: JBB0807 <104856796+JBB0807@users.noreply.github.com> Date: Thu, 8 May 2025 01:24:48 -0700 Subject: [PATCH] working save and upload --- snake-api-template/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snake-api-template/entrypoint.sh b/snake-api-template/entrypoint.sh index a66bab1..98c6481 100644 --- a/snake-api-template/entrypoint.sh +++ b/snake-api-template/entrypoint.sh @@ -6,7 +6,7 @@ mkdir -p "${NOTEBOOK_DIR}" # fetch latest notebook echo "Syncing notebooks from S3 bucket..." aws --endpoint-url "$AWS_ENDPOINT_URL_S3" --region "$AWS_REGION" \ - s3 sync "s3://$BUCKET_NAME/$INSTANCE_PREFIX/notebooks/" "${NOTEBOOK_DIR}/" + s3 sync "s3://$COMMON_BUCKET/$INSTANCE_PREFIX/notebooks/" "${NOTEBOOK_DIR}/" # convert to Python script for dynamic import echo "Finding the latest notebook..."