fossbook 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/lib/deploy.js +2 -0
- package/lib/init.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Fossbook
|
|
2
2
|
|
|
3
3
|
A lightweight static blog site generator for GitHub Pages, similar to Hugo but built with Node.js.
|
|
4
|
+
It was originally part of the [F/OSS Comics blog](https://fosscomics.com) and is now an independent, installable package that anyone can use.
|
|
4
5
|
|
|
5
6
|
## Features
|
|
6
7
|
|
package/lib/deploy.js
CHANGED
|
@@ -44,6 +44,7 @@ async function deploy(config, options = {}) {
|
|
|
44
44
|
}).trim();
|
|
45
45
|
if (!unpushed) {
|
|
46
46
|
console.log("No changes to commit and no unpushed commits.");
|
|
47
|
+
printSiteUrl(config);
|
|
47
48
|
return;
|
|
48
49
|
}
|
|
49
50
|
console.log("No new changes to commit, but found unpushed commits. Pushing...");
|
|
@@ -156,6 +157,7 @@ async function waitForDeployment(cwd, config) {
|
|
|
156
157
|
if (runs.length === 0) {
|
|
157
158
|
console.log("No workflow runs found. The deployment may not be configured yet.");
|
|
158
159
|
console.log("Enable GitHub Pages: Settings → Pages → Source → GitHub Actions");
|
|
160
|
+
printSiteUrl(config);
|
|
159
161
|
return;
|
|
160
162
|
}
|
|
161
163
|
|
package/lib/init.js
CHANGED