Open banthedev opened 2 years ago
Thank you, that's very helpful.
When I did it created a repo called Melj16.github.io, is that something I can delete?
Of course,
Honestly I would delete that repo since you only need one. I've only ever used Netlify for build deployments and not actual hosting.
And since your portfolio has no JS-build (like a framework such as Angular, React, Next, Nuxt, etc) and is static you can simply host it using GitHub pages.
The steps to do that is:
settings
Code and Automation
click on Pages
The last thing you want to do is add the CNAME
file to your repo. Exactly the same how it is in the other repo netlifiy created for you. Except it should live in the root of your main repo.
// CNAME file
melissajiang.me
Description
Since you have GitHub
Pro
status you can use a variety of free stuff from the GitHub Student Developer Pack, meaning you can get a free domain for one year from domain from NameCheap. From there you can add your domain to your netlify deployment and have i.e. melissajiang.me etcUse this link: https://education.github.com/pack/offers#
And scroll down to the name cheap offer 👍