diff --git a/.circleci/config.yml b/.circleci/config.yml index 7913fe625..3456c2369 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,6 +71,8 @@ jobs: python check-or-enforce-order.py _posts/r/ python check-or-enforce-order.py _posts/matlab python check-or-enforce-order.py _posts/plotly_js + deactivate + rm -rf venv echo `md5 -q all_static/css/main.css` > _data/cache_bust_css.yml bundle exec jekyll build rm _data/mapbox_token.yml @@ -109,6 +111,7 @@ jobs: rm -f snapshots/*/*/*.bkp bundle exec percy snapshot snapshots --enable_javascript rm -rf 'snapshots/' + zip -r site.zip _site/ if [ "${CIRCLE_BRANCH}" == "master" ]; then git clone --depth=1 --branch=gh-pages https://github.com/plotly/documentation.git git config user.name plotlydocbot @@ -121,3 +124,7 @@ jobs: cd .. rm -rf documentation fi + - store_artifacts: + path: site.zip + destination: site_new +