Clear old _site contents on regeneration
This commit is contained in:
parent
be6271767f
commit
fea2363a2e
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ fi
|
|||
echo
|
||||
echo "Generating MarlinDocumentation..."
|
||||
|
||||
rm -rf _site
|
||||
|
||||
# build the site statically and proof it
|
||||
bundle exec jekyll build --profile --trace --no-watch
|
||||
bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
|
||||
|
|
Loading…
Reference in a new issue