Skip to content

Commit 62c3080

Browse files
authored
Merge pull request #2136 from SamRemis/update-docs-generation
Update docs generation script
2 parents a175b4f + 84174a3 commit 62c3080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/gh-page-docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ echo "Copy docs to local checkout"
4141
rm -rf "${CHECKOUT_DIR}"
4242
git clone https://github.com/aws/chalice.git --branch gh-pages \
4343
--single-branch ${CHECKOUT_DIR}
44-
cp -r build/html/* ${CHECKOUT_DIR}/
44+
rsync -av --delete --exclude '.git' build/html/ ${CHECKOUT_DIR}/
4545
# Add a .nojekyll file so make sure we don't ignore _static
4646
# paths.
4747
touch ${CHECKOUT_DIR}/.nojekyll

0 commit comments

Comments
 (0)