Skip to content

Commit

Permalink
draft text
Browse files Browse the repository at this point in the history
  • Loading branch information
leoadec committed Aug 1, 2024
1 parent 2dd378e commit d496548
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.swp
.jekyll-cache/
_site/
node_modules/
18 changes: 18 additions & 0 deletions _drafts/migrating-my-github-pages-website-to-node-js.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
---
As many other people, I have been using GitHub Pages to host my personal
website: it is free, comes with unlimited CI/CD, and is quite straightforward.

It is also powered behind the scenes by Jekyll, a static site generator built in
Ruby, which is a language I don't have that much familiarity with, and whose
adoption has been dwindling over the years. I had some aspirations to make the
website more complex, and for these I would probably need tools outside the Ruby
sphere, tools likely built with Node.js. In which case, why not build the
website in Node.js itself?

## Preparations

The first thing to notice is that you can customize the CI/CD for GitHub pages
deployment. In that way, if you have a `"script"` field specified in your
`packages.json`, you can add the commands there that test and build your
website.

0 comments on commit d496548

Please sign in to comment.