from [/villagepump/MarkdownからQuartzで静的生成してGithub Pagesでserveする](https://scrapbox.io/villagepump/MarkdownからQuartzで静的生成してGithub Pagesでserveする) 2023-11-30
以下は要約です:
変換と生成:
課題と対応:
デプロイ:
最終的に成功し、静的サイトのホスティングが完了:https://nishio.github.io/quartz/
--- raw
2023-11-30
のりしろ
from nishio/from_scrapbox
Quartz requires at least Node v18.14 and npm v9.3.1 to function correctly.
page["title"].replace(/\//gi, "-")デプロイを調べる
% git status
On branch v4
Your branch is up to date with 'origin/v4'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: content/.gitkeep
modified: package-lock.json
Untracked files:
(use "git add <file>..." to include in what will be committed)
content
no changes added to commit (use "git add" and/or "git commit -a")
Head to “Settings” tab of your forked repository and in the sidebar, click “Pages”. Under “Source”, select “GitHub Actions”.
$ git remote rename origin upstream$ git remote add origin https://github.com/nishio/quartz.gitSystem.IO.IOException: No space left on device : '/home/runner/runners/2.311.0/_diag/Worker_20231129-132926-utc.log'
Published GitHub Pages sites may be no larger than 1 GB. About GitHub Pages - GitHub Docs
Builds will timeout after 20 minutes. Limits · Cloudflare Pages docs
Component.DesktopOnly(Component.Explorer())