fix: get builder key from env var
This commit is contained in:
parent
1cc057557b
commit
d7d81d4049
@ -3,8 +3,8 @@ set -e
|
|||||||
|
|
||||||
if [ -n "$CI" ]; then
|
if [ -n "$CI" ]; then
|
||||||
mkdir $SECURE_FILES_DOWNLOAD_PATH
|
mkdir $SECURE_FILES_DOWNLOAD_PATH
|
||||||
echo "$BUILDER_PUBLIC_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519.pub
|
echo -e "$BUILDER_PUBLIC_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519.pub
|
||||||
echo "$BUILDER_PRIVATE_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519
|
echo -e "$BUILDER_PRIVATE_KEY" > $SECURE_FILES_DOWNLOAD_PATH/id_ed25519
|
||||||
chmod -R 600 $SECURE_FILES_DOWNLOAD_PATH
|
chmod -R 600 $SECURE_FILES_DOWNLOAD_PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user