This should fix the EACCESS issue.
This commit is contained in:
Simon Erhardt 2021-01-24 15:07:41 +01:00 committed by GitHub
parent 3ec9786507
commit 938f1ee6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ function ssh() {
let knownHosts = core.getInput('known-hosts')
if (knownHosts === '') {
fs.appendFileSync(`/etc/ssh/ssh_config`, `StrictHostKeyChecking no`)
fs.appendFileSync(`${ssh}/config`, `StrictHostKeyChecking no`)
} else {
fs.appendFileSync(`${ssh}/known_hosts`, knownHosts)
fs.chmodSync(`${ssh}/known_hosts`, '644')