From ab2b183b166d808f034d245ff8bb3061ed0aa583 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Wed, 8 Nov 2023 09:03:24 +0100 Subject: [PATCH] chore: disable lightning deploys --- ops/buildkite/deploy-content | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/ops/buildkite/deploy-content b/ops/buildkite/deploy-content index 75d139e023d..ad13297a020 100755 --- a/ops/buildkite/deploy-content +++ b/ops/buildkite/deploy-content @@ -27,17 +27,20 @@ deploy_content () { exit 1 fi + # Lightning deploys ARE CURRENTLY DISABLED because they're screwing up the site # NOTE: in theory we could run lightning bake in parallel to regular bake and only lock `deploy_to_cloudflare` # right now lightning bake has to wait if there's a regular bake - if [ -n "${LIGHTNING_GDOC_SLUGS:-}" ]; then - # TODO: do we need to trigger `yarn buildLocalBake --steps gdriveImages` to get up to date images for the lightning post? - bake_gdoc_posts "$LIGHTNING_GDOC_SLUGS" - else - update_owid_content_repo - sync_wordpress_uploads - bake_site - sync_baked_data_to_r2 - fi + # if [ -n "${LIGHTNING_GDOC_SLUGS:-}" ]; then + # # TODO: do we need to trigger `yarn buildLocalBake --steps gdriveImages` to get up to date images for the lightning post? + # bake_gdoc_posts "$LIGHTNING_GDOC_SLUGS" + # else + + update_owid_content_repo + sync_wordpress_uploads + bake_site + sync_baked_data_to_r2 + + # fi create_dist deploy_to_cloudflare