Actions + DO CLI for test and developing?

Using GitHub Actions and DO CLI to

  • create a new droplet using DO CLI on each new PR
  • ssh into droplet
  • pull the code to droplet
  • run the code
  • on merging the pr destroy the droplet


  • What are thoughts on this workflow?
  • What’re its caveat?
  • Is it cost effective
  • Does it save time on manually creating new deploys? (I do think so, though)
  • Has anyone tried using similar workflow?

Something similar (not specific to DO) has been discussed here:

I think in principle the same considerations apply to your idea, too. :slightly_smiling_face: