-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.swp | ||
.jekyll-cache/ | ||
_site/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |