Skip to content

Commit

Permalink
ci: deploy to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed May 31, 2019
1 parent 7d6ecaa commit b0de28b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions now.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "wip",
"alias": "wip",
"name": "wip-beta",
"alias": "wip-beta",
"scale": {
"all": {
"min": 1,
"max": 2
}
},
"env": {
"APP_ID": "@app-id",
"APP_NAME": "WIP",
"APP_ID": "@wip-app-id",
"APP_NAME": "WIP (beta)",
"DISABLE_STATS": "true",
"LOG_LEVEL": "@log-level",
"LOGDNA_API_KEY": "@logdna-api-key",
"LOG_LEVEL": "@wip-log-level",
"LOGDNA_API_KEY": "@wip-logdna-api-key",
"NODE_ENV": "production",
"PRIVATE_KEY": "@private-key",
"REDIS_URL": "@redis-url",
"SENTRY_DSN": "@sentry-dsn",
"WEBHOOK_SECRET": "@webhook-secret"
"PRIVATE_KEY": "@wip-private-key",
"REDIS_URL": "@wip-redis-url",
"SENTRY_DSN": "@wip-sentry-dsn",
"WEBHOOK_SECRET": "@wip-webhook-secret"
}
}
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -e

now="npx now --debug --token=$NOW_TOKEN"

echo "$ now rm --safe --yes wip"
$now rm --safe --yes wip
echo "$ now rm --safe --yes wip-beta"
$now rm --safe --yes wip-beta

# https://github.com/zeit/now-cli/blob/master/errors/verification-timeout.md
echo "$ now --no-verify"
Expand Down

0 comments on commit b0de28b

Please sign in to comment.