diff --git a/Makefile b/Makefile index 6527246dc39..d7dd7fd33c2 100644 --- a/Makefile +++ b/Makefile @@ -34,10 +34,6 @@ help: @echo ' make refresh.wp download a new wordpress snapshot and update MySQL' @echo ' make refresh.full do a full MySQL update of both wordpress and grapher' @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' @@ -219,36 +215,6 @@ wordpress/web/app/uploads/2022: @echo '==> Downloading wordpress uploads' ./devTools/docker/download-wordpress-uploads.sh -deploy: - @echo '==> Starting from a clean slate...' - rm -rf itsJustJavascript - - @echo '==> Building...' - yarn - yarn lerna run build - yarn run tsc -b - - @echo '==> Deploying...' - yarn buildAndDeploySite live - -stage: - @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 - yarn lerna run build - yarn run tsc -b - - @echo '==> Deploying to $(STAGING)...' - yarn buildAndDeploySite $(STAGING) - test: @echo '==> Linting' yarn