mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-20 01:46:52 +00:00
CI: fix build exists check
This commit is contained in:
parent
22362e73ad
commit
3500489bb8
1 changed files with 4 additions and 2 deletions
|
|
@ -3,8 +3,10 @@
|
|||
check_directory_exists() {
|
||||
local remote_dir="$1"
|
||||
|
||||
! curl --output /dev/null --silent --head --fail "$remote_dir"
|
||||
curl --output /dev/null --silent --head --fail "$remote_dir"
|
||||
}
|
||||
|
||||
S3_URL="https://${S3_BUCKET}.s3.amazonaws.com/${S3_BUILD_DIRECTORY}/";
|
||||
check_directory_exists "$S3_URL"
|
||||
if check_directory_exists "$S3_URL"; then
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue