For a long time, i was searching for a good solution to automatically deploy my websites to my web-hosting (Webfaction) via Git. I use Git (Github or Bitbucket) with all my Web-Dev projects, i was searching for a solution to setup my personal Continuous Deployment/Delivery work-flow.
Before you follow this guid In my guide, i assume that you are already familiar with Git. So i’m not gonna explain all the Git basics.
Only deploy your dist folder to Github Pages When you’re working with a handy taskrunner like GruntJS or GulpJS, than you may have a dist folder where all files are in that are fully optimized.
This week i started to learn a couple of new things for my development. One of these things was learn to use Github. I had never had the time or the needing of learn myself how to use Github, but now was the right time.
Because i’ve put all my time in it to learn i wanna share it with those who want to learn it. And because it cost me a lot of time to figure out how to use it and add it in my workflow, i write this article.