Skip to content

Instantly share code, notes, and snippets.

@gregtroche
gregtroche / on-merge-deploy-to-do.md
Created April 2, 2023 00:43 — forked from danieltorscho/on-merge-deploy-to-do.md
GitHub Action 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