GitHub Pages is a static site hosting service that takes HTML, CSS, and JavaScript files straight from a repository on GitHub optionally runs the files through a build process and publishes a website. Building a Travis pipeline to build the website and push it to a gh-pages branch.Using next export to convert the Next.js project to a static website.This blog post documents the process of taking a Next.js project and hosting it on GitHub pages. The re-implementation of Wallis Consultancy into a Next.js application is complete. The finished website (hosted on GitHub Pages): Having said that, GitHub Pages is 100% still a good place to host your Next.js project! I've kept a version of Wallis Consultancy hosted on GitHub pages for this blog and have updated all links to Wallis Consultancy below. Essentially, Next.js integrates with Vercel a lot better than with GitHub Pages. I wrote a post describing my motivations for doing so which you can read here. I have moved Wallis Consultancy from GitHub Pages to Vercel. This blog is part of a series where I document rebuilding a website that relies on HTML, CSS and Bootstrap in React.js using the Next.js framework to improve performance, reduce costs and increase my workflow for future changes.
0 Comments
Leave a Reply. |