Skip to content

Commit

Permalink
Clear dist dir before building docs bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
sidoh committed Aug 12, 2019
1 parent 8b812e7 commit 7761c1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .prepare_docs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ DIST_DIR="./dist/docs"
BRANCHES_DIR="${DIST_DIR}/branches"
API_SPEC_FILE="${DOCS_DIR}/openapi.yaml"

rm -rf "${DIST_DIR}"

redoc_bundle_file=$(mktemp)
git_ref_version=$(git describe --always)
branch_docs_dir="${BRANCHES_DIR}/${git_ref_version}"
Expand Down

0 comments on commit 7761c1b

Please sign in to comment.