travis: attempt to fix dev deployment

This commit is contained in:
Nolan Lawson 2018-04-11 22:29:45 -07:00
parent fdfdcb6b82
commit 3a5a478f8f

View file

@ -27,7 +27,7 @@
"deploy-dev": "npm run stage-dev && now && sleep 60 && now alias dev.pinafore.social && now rm pinafore --safe --yes",
"stage-prod": "rm -f assets/robots.txt",
"deploy-prod": "npm run stage-prod && now && sleep 60 && now alias pinafore.social && now rm pinafore --safe --yes",
"deploy-dev-travis": "if [[ $TRAVIS_BRANCH == master ]]; then npm run stage-dev && now --token $NOW_TOKEN && sleep 60 && now alias dev.pinafore.social --token $NOW_TOKEN && now rm pinafore --safe --yes; fi",
"deploy-dev-travis": "if [ $TRAVIS_BRANCH == master ]; then npm run stage-dev && now --token $NOW_TOKEN && sleep 60 && now alias dev.pinafore.social --token $NOW_TOKEN && now rm pinafore --safe --yes; fi",
"backup-mastodon-data": "pg_dump -Fc mastodon_development > fixtures/dump.sql && cd mastodon/public/system && tar -czf ../../../fixtures/system.tgz ."
},
"dependencies": {