1

I've got a project setup in Codeship which hooks into my private Github repo, tests and builds. I want to use a custom script to deploy to my DigitalOcean Droplet (VM).

I thought of adding a git remote and using a simple push to the machine using SSH. This was based on the following resource. This fails because I would be pushing to a non-bare repo on the target machine.

Anyone aware of resources or ideas on how to deploy to the VM?

Jason Strimpel
  • 14,670
  • 21
  • 76
  • 106

1 Answers1

2

Found on Codeship's documentation that you can use a custom script to run commands using SSH. Instructions are here.

Jason Strimpel
  • 14,670
  • 21
  • 76
  • 106