From 41d04650fc9b523cf2a06a4b4aa9c2836ca35471 Mon Sep 17 00:00:00 2001 From: Thanawan Atchariyachanvanit Date: Wed, 23 Aug 2023 19:05:47 -0700 Subject: [PATCH] Update update_model_listing.yml Signed-off-by: Thanawan Atchariyachanvanit --- .github/workflows/update_model_listing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_model_listing.yml b/.github/workflows/update_model_listing.yml index e10787fa..6d17f172 100644 --- a/.github/workflows/update_model_listing.yml +++ b/.github/workflows/update_model_listing.yml @@ -36,7 +36,7 @@ jobs: path_prefixes="${{ env.path_prefixes }}" for prefix in $path_prefixes do - if aws s3 ls s3://${{ secrets.PERSONAL_MODEL_BUCKET }}/$prefix > /dev/null + if aws s3 ls s3://${{ secrets.PERSONAL_MODEL_BUCKET_TEST }}/$prefix > /dev/null then aws s3api list-objects --bucket ${{ secrets.PERSONAL_MODEL_BUCKET }} --prefix $prefix --query "Contents[].{Key: Key}" --output text | grep "/config.json$" >> config_paths.txt else