Bladeren bron

Clear old _site contents on regeneration

Scott Lahteine 6 jaren geleden
bovenliggende
commit
fea2363a2e
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2
    0
      buildroot/share/git/mfpub

+ 2
- 0
buildroot/share/git/mfpub Bestand weergeven

97
 echo
97
 echo
98
 echo "Generating MarlinDocumentation..."
98
 echo "Generating MarlinDocumentation..."
99
 
99
 
100
+rm -rf _site
101
+
100
 # build the site statically and proof it
102
 # build the site statically and proof it
101
 bundle exec jekyll build --profile --trace --no-watch
103
 bundle exec jekyll build --profile --trace --no-watch
102
 bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"
104
 bundle exec htmlproofer ./_site --only-4xx --allow-hash-href --check-favicon --check-html --url-swap ".*marlinfw.org/:/"

Laden…
Annuleren
Opslaan