Added option to force rebuild of entire cache.

Rehype plugins apparently will not regenerate Markdown pages unless the
page itself is edited. This option invalidates the cache, forcing a
rebuild.
This commit is contained in:
Benjamin A. Shelton 2026-08-07 10:15:41 -06:00
commit 58309228d9
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@
all: build deploy all: build deploy
build: build:
npm run build npm run force-build
deploy: deploy:
rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/ rsync -vaAExh --delete dist/ aries:/www/hosted/bashelton.com/public_html/sundays/

View file

@ -8,6 +8,7 @@
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"build": "astro build", "build": "astro build",
"force-build": "astro build --force",
"preview": "astro preview", "preview": "astro preview",
"astro": "astro" "astro": "astro"
}, },