Deploying to droplet with git

I’ve followed the article here:

But when trying to push it just stops here:

RC@DESKTOP-QU1JT41 MINGW64 ~/Documents/Nodejs Course/server (master)
$ git push live master
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's ssh-ed25519 key fingerprint is:
If you trust this host, enter "y" to add the key to
PuTTY's cache and carry on connecting.
If you want to carry on connecting just once, without
adding the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
Store key in cache? (y/n) y

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


For anyone who comes across this in the future, you can now use GitHub Actions to achieve this.

Here is a video on how to do that:

Alternatively, you can use the DigitalOcean App platform which offers this out of the box and does not require you to do any server-side configuration: