actions-gh-pages
actions-gh-pages copied to clipboard
Allow GHES repository to support deploy key
This PR is a revision of #679, allowing to deploy on GHES repositories using deploy keys. - Found that simple error code checking does not handle the case when ssh-keyscan is failed. this PR includes the updated logic and corresponding test codes.
Tested with the GHES server with self-hosted runners, and github.com. You can test it by using uses: jiminj/[email protected]
BTW, I have another fix related to https://github.com/peaceiris/actions-gh-pages/issues/579#issuecomment-993234461. Will make another PR once this is resolved.
@peaceiris it would be nice to have this fix incorporated