Don't fail pelican builds when no drafts
This commit is contained in:
parent
6a9ba0dd94
commit
a261baff99
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ let
|
|||
${copyPlugins}
|
||||
if [ -d content ]; then
|
||||
# Drop draft content before building (Pelican draft detection can be inconsistent).
|
||||
grep -RIl '^status:[[:space:]]*draft' content | xargs -r rm -f
|
||||
(grep -RIl '^status:[[:space:]]*draft' content || true) | xargs -r rm -f
|
||||
fi
|
||||
# nfc-web's `geohash` Pelican plugin imports `geohash_tools`, but that module
|
||||
# isn't shipped in the repo. Provide a tiny implementation at build time.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue