I’ve followed the article here: https://www.digitalocean.com/community/tutorials/how-to-set-up-automatic-deployment-with-git-with-a-vps
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:
SERVER FINGER PRINT IS HERE
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
connection.
Store key in cache? (y/n) y
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!
Hello,
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:
https://www.digitalocean.com/community/tech_talks/deploying-to-digitalocean-with-github-actions
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:
https://www.digitalocean.com/products/app-platform
Best,
Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.