Skip to content

Commit 938f1ee

Browse files
authored
Fix #1 (#5)
This should fix the EACCESS issue.
1 parent 3ec9786 commit 938f1ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function ssh() {
2525

2626
let knownHosts = core.getInput('known-hosts')
2727
if (knownHosts === '') {
28-
fs.appendFileSync(`/etc/ssh/ssh_config`, `StrictHostKeyChecking no`)
28+
fs.appendFileSync(`${ssh}/config`, `StrictHostKeyChecking no`)
2929
} else {
3030
fs.appendFileSync(`${ssh}/known_hosts`, knownHosts)
3131
fs.chmodSync(`${ssh}/known_hosts`, '644')

0 commit comments

Comments
 (0)