Hosting

Build folder

By convention the distfolder is used for compiled code.

In our case we are going to change that for a FREE hosting hack. Edit the config.yml file like this :

Use this command to build the website

$ foundation build

Challenges:

GitHub

On the repository of your project, go to Settings > Options > GitHub page

Challenges:

The lazy way

Go to Settings > Options > GitHub page and add your own domain name

The hacker way

There are a lot of solutions for using a custom domain with GitHub Pages. The simple one is to change your DNS.

  1. Update your A record for this adress 192.30.252.153

  2. Add a CNAMEfile like this one

💡 protip: Each time foundation watch create a CNAME file.

Last updated