We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec9786 commit 938f1eeCopy full SHA for 938f1ee
index.js
@@ -25,7 +25,7 @@ function ssh() {
25
26
let knownHosts = core.getInput('known-hosts')
27
if (knownHosts === '') {
28
- fs.appendFileSync(`/etc/ssh/ssh_config`, `StrictHostKeyChecking no`)
+ fs.appendFileSync(`${ssh}/config`, `StrictHostKeyChecking no`)
29
} else {
30
fs.appendFileSync(`${ssh}/known_hosts`, knownHosts)
31
fs.chmodSync(`${ssh}/known_hosts`, '644')
0 commit comments