From 4a1c11d4edf4207b27db2bfc63d861e1e5fc5019 Mon Sep 17 00:00:00 2001 From: Filippo Squillace Date: Mon, 20 Dec 2021 21:19:47 +0000 Subject: [PATCH] Fix deploy script --- ci/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index 6053424..617755b 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -42,7 +42,7 @@ then aws s3 cp s3://junest-repo/junest/$img_name s3://junest-repo/junest/${img_name}.${DATE} # Cleanup old images - aws s3 ls s3://junest-repo/junest/junest-${ARCH}.tar.gz. | awk '{print $4}' | head -n -${MAX_OLD_IMAGES} | xargs -I {} s3 rm "s3://junest-repo/junest/{}" + aws s3 ls s3://junest-repo/junest/junest-${ARCH}.tar.gz. | awk '{print $4}' | head -n -${MAX_OLD_IMAGES} | xargs -I {} aws s3 rm "s3://junest-repo/junest/{}" # Test the newly deployed image can be downloaded correctly junest setup