ensure clean _site output

This commit is contained in:
Christian Reitter 2023-11-10 18:17:00 +01:00
parent b05b5d5f98
commit 8a1a0210c2
2 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,7 @@ clean:
rm -r _site rm -r _site
_site: build _site: build
rm -rf _site
mkdir -p _site mkdir -p _site
docker run milksad-distrust-co tar c -C /usr/share/nginx/html . | tar x -C _site docker run milksad-distrust-co tar c -C /usr/share/nginx/html . | tar x -C _site

View File

@ -47,3 +47,7 @@ kramdown:
sass: sass:
sass_dir: _sass sass_dir: _sass
# ensure some files are not copied to the _site output folder
exclude:
- "*.sh"