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:
parent
f264dd7bd4
commit
58309228d9
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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/
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue