Hosting
Build folder
By convention the dist
folder 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
Challenges:
GitHub
On the repository of your project, go to Settings > Options > GitHub page
Challenges:
Link your own domain name
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.
Update your A record for this adress
192.30.252.153
Add a
CNAME
file like this one
💡 protip: Each time foundation watch
create a CNAME file.
Last updated