Question
Deploying PHP apps to DigitalOcean with Dploy.io
I’ve never used any deployment tools/services before and thought I’d give dploy.io a go after seeing this article:
http://www.sitepoint.com/deploying-php-apps-digitalocean-dploy-io/
I’m stuck trying to connect dploy to my droplet - I’ve tried a few times but keep getting the dploy error message “Warning: can’t connect to a server”
I signed up to deploy, the options in the process were not quite the same as the ones shown in the article (e.g. there is no “Upload static files” or “Pre-launch commands” settings but there is “Upload configuration files”, “Run commands after new version becomes active” and “Run commands after new version is uploaded”) but it looks fairly similar.
I created a Digital Ocean personal access token and added it to dploy.
I added the dployssh key to ~/.ssh/authorized_keys in my droplet and rebooted. I think the permissions are ok (I could be wrong here…). I followed the instructions for permisisons although I have a feeling I had already set them before.
Github is linked ok.
t’s not critical, I’m just trying to figure out how to do it. Any advice appreciated, thanks!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×