From 7f104260d9bc46ea16041281f7952c02b1ad24fa Mon Sep 17 00:00:00 2001
From: Liam Connors <connorsl@tcd.ie>
Date: Tue, 26 Mar 2024 10:38:12 -0400
Subject: [PATCH 1/3] Update config.yml

---
 .circleci/config.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 7913fe625..0bcdedf7f 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -109,6 +109,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 +122,8 @@ jobs:
               cd ..
               rm -rf documentation
             fi
+      - store_artifacts:
+          path: site.zip
+          destination: site_new
+
+

From 67243e6d3a92d2a59776127b81e4e154993d858d Mon Sep 17 00:00:00 2001
From: Liam Connors <connorsl@tcd.ie>
Date: Tue, 26 Mar 2024 10:59:35 -0400
Subject: [PATCH 2/3] Update config.yml

---
 .circleci/config.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 0bcdedf7f..85c2624b1 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -74,6 +74,8 @@ jobs:
             echo `md5 -q all_static/css/main.css` > _data/cache_bust_css.yml
             bundle exec jekyll build
             rm _data/mapbox_token.yml
+            deactivate
+            rm -rf venv
             mkdir snapshots
             cd _site
             cp -r 'all_static' '../snapshots'

From 79e8de1490de87f26ba09dc68453b748d3e4c255 Mon Sep 17 00:00:00 2001
From: Liam Connors <connorsl@tcd.ie>
Date: Tue, 26 Mar 2024 11:13:55 -0400
Subject: [PATCH 3/3] Update config.yml

---
 .circleci/config.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 85c2624b1..3456c2369 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -71,11 +71,11 @@ 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
-            deactivate
-            rm -rf venv
             mkdir snapshots
             cd _site
             cp -r 'all_static' '../snapshots'
@@ -128,4 +128,3 @@ jobs:
           path: site.zip
           destination: site_new
 
-