Skip to content

Commit b32a36b

Browse files
committed
Remove production output directory before generating the site; removes old content.
1 parent ce1201c commit b32a36b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

publish.sh.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22

3+
rm -rf output_prod
34
vendor/bin/sculpin generate --env=prod || ( echo "Could not generate the site" && exit )
45
fab || ( echo "Could not publish the site" && exit )

0 commit comments

Comments
 (0)