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
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
"wait-for-mastodon-data": "node -r esm bin/wait-for-mastodon-data.js", "wait-for-mastodon-data": "node -r esm bin/wait-for-mastodon-data.js",
"globalize-css": "node ./bin/globalize-css.js", "globalize-css": "node ./bin/globalize-css.js",
"deglobalize-css": "node ./bin/globalize-css.js --reverse", "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 ." "backup-mastodon-data": "pg_dump -Fc mastodon_development > fixtures/dump.sql && cd mastodon/public/system && tar -czf ../../../fixtures/system.tgz ."
}, },
"dependencies": { "dependencies": {