Move to now.json so GitHub integration kicks in (#414)

main
Michael Fix 6 years ago committed by GitHub
parent 1875eac9a3
commit 936d28d5d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,16 @@
{
"name": "carbon",
"type": "docker",
"public": true,
"env": {
"NODE_ENV": "production",
"TWITTER_CONSUMER_KEY": "@twitter-consumer-key",
"TWITTER_CONSUMER_SECRET": "@twitter-consumer-secret",
"TWITTER_ACCESS_TOKEN_KEY": "@twitter-access-token-key",
"TWITTER_ACCESS_TOKEN_SECRET": "@twitter-access-token-secret",
"LOGS_SECRET_PREFIX": "@logs_secret_prefix",
"UNSPLASH_SECRET_KEY": "@unsplash_secret_key",
"UNSPLASH_ACCESS_KEY": "@unsplash_access_key",
"UNSPLASH_CALLBACK_URL": "@unsplash_callback_url"
}
}

@ -8,7 +8,7 @@
"build": "next build",
"start": "node server.js",
"test": "npm run cy:run --",
"deploy": "now --public --docker -e NODE_ENV=production",
"deploy": "now",
"prettier": "prettier --config .prettierrc --write *.js {components,handlers,lib,pages}/*.js",
"lint": "eslint .",
"precommit": "npm run contrib:build && git add README.md && lint-staged",
@ -69,18 +69,6 @@
"prettier": "^1.8.1",
"webpack": "^3.10.0"
},
"now": {
"env": {
"TWITTER_CONSUMER_KEY": "@twitter-consumer-key",
"TWITTER_CONSUMER_SECRET": "@twitter-consumer-secret",
"TWITTER_ACCESS_TOKEN_KEY": "@twitter-access-token-key",
"TWITTER_ACCESS_TOKEN_SECRET": "@twitter-access-token-secret",
"LOGS_SECRET_PREFIX": "@logs_secret_prefix",
"UNSPLASH_SECRET_KEY": "@unsplash_secret_key",
"UNSPLASH_ACCESS_KEY": "@unsplash_access_key",
"UNSPLASH_CALLBACK_URL": "@unsplash_callback_url"
}
},
"lint-staged": {
" *.js": [
"prettier",

Loading…
Cancel
Save