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 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
@@ -41,6 +41,8 @@ jobs:
41
41
 
42
42
  - name: Setup Pages
43
43
  uses: actions/configure-pages@v4
44
+ with:
45
+ enablement: true
44
46
 
45
47
  - name: Upload artifact
46
48
  uses: actions/upload-pages-artifact@v3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossbook",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A lightweight static blog site generator for GitHub Pages",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {