Sorry about this, but I can’t quite seem to get this working. Following the initial setup directions I got the secret, the
SSH_DEPLOY_KEY, public key, etc in there with how it wants. However after pushing the PR it breaks on
Deploy (GitHub Trace Below):
Run peaceiris/actions-gh-pages@v3 [INFO] DeployKey: true [INFO] PublishBranch: gh-pages [INFO] PublishDir: ./_site [INFO] ExternalRepository: [INFO] AllowEmptyCommit: false [INFO] KeepFiles: false [INFO] ForceOrphan: false [INFO] UserName: [INFO] UserEmail: [INFO] CommitMessage: [INFO] TagName: [INFO] TagMessage: [INFO] EnableJekyll (DisableNoJekyll): false [INFO] CNAME: [INFO] setup SSH deploy key /bin/chmod 700 /home/runner/.ssh [INFO] wrote /home/runner/.ssh/known_hosts /bin/chmod 600 /home/runner/.ssh/known_hosts [INFO] wrote /home/runner/.ssh/github /bin/chmod 600 /home/runner/.ssh/github [INFO] wrote /home/runner/.ssh/config /bin/chmod 600 /home/runner/.ssh/config /usr/bin/ssh-add /home/runner/.ssh/github Error loading key "/home/runner/.ssh/github": invalid format ##[error]Action failed with "The process '/usr/bin/ssh-add' failed with exit code 1"
How should I try to go about fixing this?
Edit: just saw the format issues. I went through and copy/pasted just the SSH keys themselves (not the surrounding “ssh starts here” stuff). Should I have not?