Nicholas A. Danes

Moving Site to Netlify

Date:

tags: blogging

I decided to rehost this website to Netlify. Originally, this website was hosted by my email provider, Fastmail. Although it worked for the most part, deploying updates to the site was a little cumbersome. In summary, my workflow was:

  1. Make changes to website.
  2. Build the site using bundle exec jekyll build
  3. Commit changes via git to my repository.
  4. Open my FTP client (Filezilla) and upload the changed files to Fastmail.
  5. If things looked good, git push changes to my repository on Codeberg.

Although steps (4-5) didn’ve take that long, it became quite tedious since I like to tinker the design and content of this site a lot. In the past, I had used Netlify for static site hosting and remember how easy it was to deploy a static site. I also learned that Netlify supports Jekyll. Now my website workflow looks like:

  1. Make changes to website.
  2. Commit the changes and push to GitHub.
  3. Done!

Unfortunately, the site’s repos are now on GitHub, since there is currently no Gitea support for Netlify. Eventually I’d like to look into possibly self-hosting Gitea and mirroring to GitHub so I can continue using Netlify for hosting.

I’ve repointed the DNS records to Netlify, so hopefully the links and the HTTPS certificates should hopefully propagate soon!