This repository has been archived by the owner on Apr 9, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: upgrade to now version 2 (#79)
* refactor: remove now from dev dependencies This is not required anymore because of Now's GitHub integration. * refactor: remove separated now staging settings * feature: update configuration for now version 2 * refactor: clean up old now deployment scripts * feature: add robots file for crawlers to now * refactor: allow package as scope for greenkeeper lockfile Unfortunately, this message is not customisable yet. See this issue greenkeeperio/greenkeeper-lockfile#88. * refactor: add npm lock file for faster now deployments
- Loading branch information
Showing
7 changed files
with
24,668 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,5 +20,4 @@ | |
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
package-lock.json | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
{ | ||
"type": "docker", | ||
"features": { | ||
"cloud": "v2" | ||
}, | ||
"version": 2, | ||
"name": "github-website", | ||
"builds": [ | ||
{ "src": "package.json", "use": "@now/static-build" } | ||
], | ||
"routes": [ | ||
{ "src": "^/robots\\.txt", "dest": "/robots.txt" }, | ||
{ "src": "^/static/(.*)", "dest": "/static/$1" }, | ||
{ "src": ".*", "dest": "/index.html" } | ||
], | ||
"build": { | ||
"env": [ | ||
"GITHUB_USERNAME" | ||
] | ||
"env": { | ||
"NODE_PATH": "./", | ||
"REACT_APP_GITHUB_USERNAME": "byCedric" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.