Skip to content

Commit

Permalink
Don't remove old staged files
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-c committed Jun 28, 2016
1 parent fe90381 commit fa9a659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@
"_build": "export HEAD_COMMIT=$(git rev-parse --short HEAD); check-engines && rimraf dist; webpack --config ./webpack.build.js --progress --profile --colors",
"serve-static": "export NODE_ENV=staging; check-engines && npm run _build && node ./static-server.js",
"serve-hot": "export BABEL_ENV=hot-reload; npm start",
"_publish": "publisssh ./dist \"zooniverse-static/$PATH_ROOT/$SUBDIR\" $PUBLISH_FLAGS",
"_publish": "publisssh ./dist \"zooniverse-static/$PATH_ROOT/$SUBDIR\"",
"_log-staging-url": "echo \"Staged at https://$SUBDIR.pfe-preview.zooniverse.org/\"",
"_stage": "export PATH_ROOT=preview.zooniverse.org/panoptes-front-end; npm run _build && npm run _publish && npm run _log-staging-url",
"stage": "export NODE_ENV=staging; export SUBDIR=$(git symbolic-ref --short HEAD); export PUBLISH_FLAGS=--remove; npm run _stage",
"stage": "export NODE_ENV=staging; export SUBDIR=$(git symbolic-ref --short HEAD); npm run _stage",
"stage-with-docker": "./bin/run-through-docker.sh 'npm run stage'",
"_deploy": "export PATH_ROOT=www.zooniverse.org; npm run _build && npm run _publish",
"deploy": "export NODE_ENV=production; npm run _deploy",
Expand Down

0 comments on commit fa9a659

Please sign in to comment.