mirror of
https://github.com/fsquillace/junest.git
synced 2026-07-28 21:40:49 +00:00
Fix deploy script
This commit is contained in:
parent
5e97524338
commit
4a1c11d4ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue