File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1- # vx.x.x
2- ## Fixes
1+ # v1.1.4
2+ ## Features
33- Updated GitHub Actions action dependencies
4+ ## Fixes
5+ - Logic change to allow ` SSH_KNOWN_HOSTS="NoStrictHostKeyChecking" ` logic to run
46
57# v1.1.3
68## Features
Original file line number Diff line number Diff line change 22
33set -o pipefail
44
5-
65if [ " $SSH_PRIVATE_KEY " ]; then
76 # # Run ssh-agent (inside the build environment)
87 eval $( ssh-agent -s)
@@ -11,15 +10,13 @@ if [ "$SSH_PRIVATE_KEY" ]; then
1110 echo " ${SSH_PRIVATE_KEY} " | ssh-add -
1211fi
1312
14- if [ " $SSH_KNOWN_HOSTS " ]; then
15- touch ~ /.ssh/known_hosts
16- echo " $SSH_KNOWN_HOSTS " >> ~ /.ssh/known_hosts
17- chmod 644 ~ /.ssh/known_hosts
18- fi
19-
2013if [ " $SSH_KNOWN_HOSTS " == " NoStrictHostKeyChecking" ]; then
2114 touch ~ /.ssh/config
2215 echo -e " Host *\n\tStrictHostKeyChecking no\n\n" >> ~ /.ssh/config
16+ elif [ " $SSH_KNOWN_HOSTS " ]; then
17+ touch ~ /.ssh/known_hosts
18+ echo " $SSH_KNOWN_HOSTS " >> ~ /.ssh/known_hosts
19+ chmod 644 ~ /.ssh/known_hosts
2320fi
2421
2522exec " $@ "
You can’t perform that action at this time.
0 commit comments