Skip to content

Commit

Permalink
Update build_installer.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MinyazevR authored Jul 26, 2024
1 parent 0667ac1 commit 4b3d826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildScripts/github/build_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b3d826

Please sign in to comment.