From 4b3d82631374e764d42116848550f927e9be9038 Mon Sep 17 00:00:00 2001 From: MinyazevR <89993880+MinyazevR@users.noreply.github.com> Date: Fri, 26 Jul 2024 14:17:15 +0300 Subject: [PATCH] Update build_installer.sh --- buildScripts/github/build_installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildScripts/github/build_installer.sh b/buildScripts/github/build_installer.sh index b15d41a383..1947e7e161 100755 --- a/buildScripts/github/build_installer.sh +++ b/buildScripts/github/build_installer.sh @@ -20,7 +20,7 @@ df -h . NEED_DEPLOY=$([[ "$GITHUB_REPOSITORY" == "trikset/trik-studio" && "${PULLREQUESTNUMBER:-false}" == "false" ]] && echo true || echo false ) if $NEED_DEPLOY ; then - $EXECUTOR bash -c "mkdir -p ~/.ssh && touch ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa && echo \"$ssh_key\" > ~/.ssh/id_rsa" + $EXECUTOR bash -c "mkdir -p ~/.ssh && install -m 600 /dev/null ~/.ssh/id_rsa && echo \"$ssh_key\" > ~/.ssh/id_rsa" fi if [[ $RUNNER_OS == Linux ]] ; then