Skip to content

Commit

Permalink
🔨 deprecate script for deployment to owid-live
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed May 17, 2024
1 parent b2b9fa0 commit 321a38b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 438 deletions.
33 changes: 0 additions & 33 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ help:
@echo ' make update.chart-entities update the charts_x_entities join table'
@echo ' make reindex reindex (or initialise) search in Algolia'
@echo ' make bench.search run search benchmarks'
@echo
@echo ' OPS (staff-only)'
@echo ' make deploy Deploy your local site to production'
@echo ' make stage Deploy your local site to staging'
@echo

up: export DEBUG = 'knex:query'

Expand Down Expand Up @@ -215,34 +210,6 @@ tmp-downloads/owid_metadata.sql.gz:
@echo '==> Downloading metadata'
./devTools/docker/download-grapher-metadata-mysql.sh

deploy: node_modules
@echo '==> Starting from a clean slate...'
rm -rf itsJustJavascript

@echo '==> Building...'
yarn lerna run build --skip-nx-cache
yarn run tsc -b

@echo '==> Deploying...'
yarn buildAndDeploySite live

stage: node_modules
@if [[ ! "$(STAGING)" ]]; then \
echo 'ERROR: must set the staging environment'; \
echo ' e.g. STAGING=halley make stage'; \
exit 1; \
fi
@echo '==> Preparing to deploy to $(STAGING)'
@echo '==> Starting from a clean slate...'
rm -rf itsJustJavascript

@echo '==> Building...'
yarn lerna run build
yarn run tsc -b

@echo '==> Deploying to $(STAGING)...'
yarn buildAndDeploySite $(STAGING)

test: node_modules
@echo '==> Linting'
yarn run eslint
Expand Down
19 changes: 0 additions & 19 deletions baker/DeployTarget.ts

This file was deleted.

314 changes: 0 additions & 314 deletions baker/Deployer.ts

This file was deleted.

Loading

0 comments on commit 321a38b

Please sign in to comment.