Skip to content

Commit

Permalink
Add ZEIT Now deployments to docs (markedjs#1512)
Browse files Browse the repository at this point in the history
Add ZEIT Now deployments to docs
  • Loading branch information
styfle committed Jul 15, 2019
2 parents a2923b0 + 37aa27d commit 40b2a38
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions now.json
@@ -0,0 +1,15 @@
{
"name": "markedjs",
"scope": "markedjs",
"alias": "markedjs.now.sh",
"version": 2,
"regions": ["all"],
"builds": [
{ "src": "docs/**", "use": "@now/static" }
],
"routes": [
{ "src": "/repo", "status": 302, "headers": { "Location": "https://github.com/markedjs/marked" } },
{ "src": "/old", "status": 302, "headers": { "Location": "https://marked.js.org" } },
{ "src": "/(.*)", "dest": "/docs/$1" }
]
}

0 comments on commit 40b2a38

Please sign in to comment.