Skip to content

Instantly share code, notes, and snippets.

View hkwarui's full-sized avatar
🎯
Focusing

hkwarui hkwarui

🎯
Focusing
View GitHub Profile
@danieltorscho
danieltorscho / on-merge-deploy-to-do.md
Last active June 21, 2024 10:04
GitHub Actions deploy nodejs to DigitalOcean Droplet

Github deployment

Requirements:

  • DigitalOcean Droplet (Ubuntu 20.04+) should be created
  • Github repository

Prepare DO Droplet Server:

  • ssh root@DROPLET_IP
  • sudo vi /etc/ssh/sshd_config
  • change PasswordAuthentication from no to yes