Skip to content

Commit cf403c3

Browse files
committed
update Makefile, if master, delete build/master and build/public
1 parent bd3fd9a commit cf403c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ markdown: examples ## Build markdown and merge into docs-tutorials
4242
./build/docs-tools/tools/migrate-markdown.py build/${GIT_BRANCH}/markdown
4343

4444
publish: examples ## Builds this branch's publishable HTML and other artifacts under build/public
45+
if [ ${GIT_BRANCH} = master ]; then rm -rf build/master build/public; fi
4546
giza make publish
4647
if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
4748

0 commit comments

Comments
 (0)