Unknown event when create main.yml

I am new to use GitHub Actions and I would like to make a automated work flow to reply my gh-pages, but after copy the demo code in marketplace, it still shows unknown event. is there anyone helping to resolve it?
(I have create public and private key)
here’s the address of my workflow:

It looks like you have set the setting to only allow local actions in that repository.

Check failure

GitHub Actions/ (Unnamed workflow)

Error

Only actions in "fuzheng1998" are allowed for this repository

https://docs.github.com/en/github/administering-a-repository/disabling-or-limiting-github-actions-for-a-repository

1 Like

you are right, thanks! and after that it reminds that

Load key "/root/.ssh/id_rsa": invalid format
[218](https://github.com/fuzheng1998/fuzheng1998.github.io/runs/930445061?
check_suite_focus=true#step:6:218)git@github.com: Permission denied (publickey).

can u help me with it? I ensure I have copied pub and private key correctly . :pray:

It’s a bit of a wild guess, but I’ve seen it often enough at work with colleagues who use Windows: Any change the keys are e.g. in Putty format, not OpenSSH format?

@fuzheng1998,

Maybe you can try to generate a new SSH key for your GitHub account to see if it can work.
To generate new SSH key, you can reference:

thanks everyone, my mistake about keys