Skip to content

Commit

Permalink
Fixing when cleanup happens in travis build. (WebAssembly#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
flagxor authored Feb 14, 2018
1 parent 5e2e276 commit 5f55a23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion document/travis-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ TARGET_BRANCH="gh-pages"

function doCompile {
# TODO(littledan): Integrate with document/deploy.sh
(cd document; make clean)
(cd document; make)
}

Expand Down Expand Up @@ -42,6 +41,8 @@ set -x
# Clone the existing gh-pages for this repo into _build/
# Create a new empty branch if gh-pages doesn't exist yet (should only happen
# on first deploy).
# Clean document/*/_build.
(cd document; make clean)
# Ensure no checkout in _build.
rm -rf document/_build
# Clone a second checkout of our repo to _build.
Expand Down

0 comments on commit 5f55a23

Please sign in to comment.