Skip to content

v3.1.0 - Docker Compose and CI static publish

Latest

Choose a tag to compare

@paladini paladini released this 16 Nov 14:47
64c0a5e

Docker Compose and a GitHub Action are now alternatives to install.sh. The Ghost-CLI install path stays in place. Static files are still generated with gssg.

Added

  • Docker Compose alternative to install.sh using the official ghost:6 image, SQLite at ~/.ghost/content/data/ghost.db, and a bind mount at ~/.ghost/content (#28)
  • scripts/compose-setup.sh, scripts/export-static.sh, and scripts/compose-smoke.sh
  • Reusable GitHub Action to generate static files in CI and publish to GitHub Pages
  • Guides: docs/v3/DOCKER.md, docs/v3/CI.md

Fixed

  • Static publishing no longer stops when wget saves an HTTP error page (status 8), including Ghost's 404 page. That exit used to abort gssg before it rewrote localhost links.
  • gssg is now called with --url, the flag that rewrites localhost links. gssg 1.1.4 ignores --productionDomain.
  • Markdown indexes written by Ghost 6 get the same public URL rewrite, so validation no longer fails on those files.

There is no project image on Docker Hub. Compose uses the official ghost:6 image.