Skip to content

Commit

Permalink
chore: disable lightning deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelgerber committed Nov 8, 2023
1 parent c782e3b commit ab2b183
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions ops/buildkite/deploy-content
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab2b183

Please sign in to comment.