Answers.Body: <p>Whoops, sorry, just found out that Github Pages only works with static content (No PHP, No database).</p>
  
  <p>Closing.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-07T14:22:08.223Z
Answers.LastActivityDate: 2017-12-07T14:22:08.223Z
Answers.UserDisplayName: Joshua
Answers.Body: <p>Cloudways support Git Deployment. Using this you could have your site on Git and make continuous pushes from anywhere and pull it through Cloudways Control panel. For more information about this you could visit <a href="https://support.cloudways.com/using-git-for-deployment/" rel="nofollow noreferrer">here</a> </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-07T14:47:09.103Z
Answers.LastActivityDate: 2017-12-07T14:47:09.103Z
Answers.UserDisplayName: hashtagerrors
Body: <p>I'm planning to move from an outside free hosting site to <a href="https://pages.github.com/" rel="nofollow noreferrer">Github Pages</a> free hosting, my site is a small portfolio, but I make changes every now and then so I want to take advantage to have my changes live right when I push to my repository, not having to copy those files to my hosting server and etc. Also I currently have a paid domain, the process would be, host on Github Pages, and redirect to custom domain, in this case I use Hostinger.</p>
  
  <p>If possible:</p>
  
  <ol>
  <li>I currently have on my Repo the <code>templates</code> folder, and my the <code>public_html</code> folder, do I need to include the whole <code>craft</code> folder and structure?</li>
  </ol>
  
  <p>Please any step by step procedure would be appreciated, thanks.</p>
  
Tags: <hosting>
Title: Hosting Craft Site on Github Pages with Paid Domain
ThreadText: # Hosting Craft Site on Github Pages with Paid Domain
  
  (Asked by: username_0 on 2017-12-07)
  
  I'm planning to move from an outside free hosting site to [Github Pages](https://pages.github.com/) free hosting, my site is a small portfolio, but I make changes every now and then so I want to take advantage to have my changes live right when I push to my repository, not having to copy those files to my hosting server and etc. Also I currently have a paid domain, the process would be, host on Github Pages, and redirect to custom domain, in this case I use Hostinger.
  
  If possible:
  
  1. I currently have on my Repo the `templates` folder, and my the `public_html` folder, do I need to include the whole `craft` folder and structure?
  
  Please any step by step procedure would be appreciated, thanks.
  
  **Tags:** hosting
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2017-12-07. Score: 2
  
  Whoops, sorry, just found out that Github Pages only works with static content (No PHP, No database).
  
  Closing.
  
  
  ---
  
  ### Answer by username_1 on 2017-12-07. Score: 1
  
  Cloudways support Git Deployment. Using this you could have your site on Git and make continuous pushes from anywhere and pull it through Cloudways Control panel. For more information about this you could visit [here](https://support.cloudways.com/using-git-for-deployment/)
  
  
  ---
  
  