fix: and + space

This commit is contained in:
Radostin Emanuilov 2024-08-28 16:30:05 +01:00
parent 3497479401
commit f00b160a42
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
#!/bin/bash
set -e
if [ -n "$CI" && ! -d "$SECURE_FILES_DOWNLOAD_PATH"]; then
if [ -n "$CI" ] && [ ! -d "$SECURE_FILES_DOWNLOAD_PATH" ]; then
mkdir $SECURE_FILES_DOWNLOAD_PATH
echo -e "$BUILDER_PUBLIC_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519.pub
echo -e "$BUILDER_PRIVATE_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519