Skip to content

Commit 827bcac

Browse files
authored
Reinstate removal of build directory (#946)
1 parent 40cd52c commit 827bcac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ clean-html:
8585
## Builds this branch's publishable HTML and other artifacts under
8686
## build/public
8787
publish:
88+
89+
if [ ${GIT_BRANCH} = master ]; then rm -rf build/public; fi;
90+
rm -rf build/${GIT_BRANCH}
8891
giza make publish
8992
if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
9093

0 commit comments

Comments
 (0)