Skip to content

Commit

Permalink
Update makefile to delete build/master and build/public
Browse files Browse the repository at this point in the history
  • Loading branch information
kay-kim committed Apr 5, 2018
1 parent 617238d commit 1c6a569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ html: ## Builds this branch's HTML under build/<branch>/html
giza make html

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

Expand Down

0 comments on commit 1c6a569

Please sign in to comment.