Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support: Update to address Github RSA host key change #878

Closed
3 tasks done
apearce-nov opened this issue Mar 29, 2023 · 3 comments · Fixed by #871
Closed
3 tasks done

support: Update to address Github RSA host key change #878

apearce-nov opened this issue Mar 29, 2023 · 3 comments · Fixed by #871
Assignees
Labels
support User support

Comments

@apearce-nov
Copy link

apearce-nov commented Mar 29, 2023

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your question

Github has updated their RSA host key and it is causing errors in my workflow when executing this action to send my docs to an external repo. Are there any configuration changes I need to make on my end or would those need to be made in this package?

From the Github announcement:

GitHub Actions users may see failed workflow runs if they are using actions/checkout with the ssh-key option. We are updating the actions/checkout action in all our supported tags, including @v2, @V3, and @main. If you pin the action to a commit SHA and use the ssh-key option, you’ll need to update your workflow.

Relevant links

n/a

Relevant log output

Screen Shot 2023-03-29 at 9 44 43 AM

Additional context.

No response

@apearce-nov apearce-nov added the support User support label Mar 29, 2023
@apearce-nov
Copy link
Author

Being worked on in #871

@apearce-nov
Copy link
Author

apearce-nov commented Mar 31, 2023

Thanks for updating @peaceiris. Do you happen to know if the host key verification error is on my side or yours?

Screen Shot 2023-03-31 at 9 16 11 AM

Screen Shot 2023-03-31 at 9 10 01 AM

@peaceiris
Copy link
Owner

peaceiris commented Mar 31, 2023

Are you running your job on a self-hosted runner that keeps launching? If so, please try adding ssh-keygen -R github.com before the deploy step. If the deployment is successful with this method, try removing the command. After that, I believe you should be able to deploy without any issues as before.

      - run: ssh-keygen -R github.com

      - uses: peaceiris/actions-gh-pages@v3.9.3
        with:
          ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants