What do people recommend as a file deployment strategy? My current hosting doesn't support GIT on the server, and I'm unsure how I can deploy from BitBucket/Github to a standard shared hosting account? I'm still FTP-ing files like the old days, but find this very frustrating and not user friendly - especially when working on WP sites! Any recommendations? Cheers!
You could use something like DeployBot to deploy your changes from you Git server (like Github or BitBucket) to any type of server, including just having it just S/FTP the files up for you. If you're using any Grunt or Gulp scripts you can also have DeployBot execute those during the deployment process. But that way you can focus on a Git-based workflow instead of messing with FTP.
If you're comfortable getting your hands a little dirty and using the command line you should definitely look at Capistrano. I wrote a blog article on deploying to a shared hosting platform as well if you need to update the files at
+1 for beanstalk. You can set up auto-deploy for staging and manual for production. All done via SSH, based on commits / pushing to master, without you having to touch a single file via FTP. Highly recommended! And quite affordable.
If it's a static site, I'd recommend Netlify over Surge. Free https support and continuous deployment from git are the main reasons why.
Both Now and Surge are top choices in my book!
I am always going with a custom script (mostly if clients just want a preview of the page) that is going to deploy the html page to an s3 bucket and then the link is pulled out.
If I am going to deploy Ruby on Rails I am using Capistrano
If I am going to deploy Wordpress, I am currently looking into Flywheel
If I am going to deploy a static page for production, I am going with
rsyncwrapperand writing a custom node script again.
If you're doing WP sites, check out Flywheel and Flywheel Local (formerly Pressmatic)
Just got spammed by Flywheel on Facebook Ads. But nice service. Definitely looking into this one for the next WP project.
Thanks all. I should've noted that ideally I'd be looking for free/open source solutions - as my work load doesn't really justify paid. However I realise this probably limits the options a lot!
You should take a look at https://pages.gitlab.io/ and GitLab CI & CD, with which you can easily setup a whole custom testing and delivery pipeline by just creating a gitlab-ci.yml file within your repository. To which end point it delivers is all up to you. GL
Great recommendations here! Personally I found the best/easiest solution for me was git-ftp combined with Bitbucket pipelines to deploy from commits. This solved the issue of not having Git installed on my hosting server (limitation of the shared account type I have), by FTP-ing files from Git commit pushes. Thanks again all.
Dploy works really nice. Simple and straightforward.
As many have suggested here, Zeit.co/now for static/node/ or docker based apps. For everthing else i would recommend setting up a script for Capistrano. Can deploy to anywhere you like.
I use Git locally and deploy with rsync for my personal projects. Really easy with one alias. FTP is really an old usage. Also we use Capistrano in our dev team
codeship.com might do it.
Brought this up in an earlier thread, but if you're OK with the command line, git, and the "linux basics" the I highly recommend Dokku. It's easy to install on Ubuntu VPS's, or DigitalOcean has a Dokku OS image you can spin up directly.
Give gitftp a whirl: https://github.com/git-ftp/git-ftp
I can't speak to Heroku enough; not only can you setup automatic deploys for every time Git branch is pushed to (like master), it takes literally 5 minutes to set up a new site. I've never used it for PHP-based things like WP, but I'm sure it would handle it really well.