Create generation script
This commit is contained in:
parent
6aeed3951a
commit
d10b5217f3
1 changed files with 14 additions and 0 deletions
14
scripts/generate-site.sh
Normal file
14
scripts/generate-site.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "> Creating Site..."
|
||||||
|
|
||||||
|
# Build the static data
|
||||||
|
echo ">> Building static data..."
|
||||||
|
npm run build $@
|
||||||
|
|
||||||
|
echo ">> Compiling site pages..."
|
||||||
|
pelican -v
|
||||||
|
|
||||||
|
echo "> Build complete."
|
Reference in a new issue