deploy script cleans up old deployments

This commit is contained in:
Nolan Lawson 2018-03-28 19:07:20 -07:00
parent a19f47b72c
commit 573640d46b

View file

@ -23,7 +23,7 @@
"wait-for-mastodon-data": "node -r esm bin/wait-for-mastodon-data.js",
"globalize-css": "node ./bin/globalize-css.js",
"deglobalize-css": "node ./bin/globalize-css.js --reverse",
"deploy-dev": "now && sleep 60 && now alias dev.pinafore.social",
"deploy-dev": "now && sleep 60 && now alias dev.pinafore.social && now rm pinafore --safe --yes",
"backup-mastodon-data": "pg_dump -Fc mastodon_development > fixtures/dump.sql && cd mastodon/public/system && tar -czf ../../../fixtures/system.tgz ."
},
"dependencies": {