Skip to content

Commit

Permalink
feat: add now deployment (decentraland#52)
Browse files Browse the repository at this point in the history
* feat: add now deployment

* fix: add env variables

* Update now.json

* Update now.json

* Update now.json

* Update now.json

* Update package.json
  • Loading branch information
eordano authored Jan 14, 2020
1 parent 1a4b29f commit e8dab5f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .nowignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/*
webapp/node_modules/*
14 changes: 14 additions & 0 deletions now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": 2,
"name": "marketplace",
"builds": [
{
"src": "package.json",
"use": "@now/static-build"
}
],
"env": {
"REACT_APP_MANA_ADDRESS": "@mana-address",
"REACT_APP_MARKETPLACE_URL": "@graph-url"
}
}
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "marketplace-now-deploy",
"version": "0.0.1",
"scripts": {
"now-build": "cd webapp && npm install && npm run contracts && npm run build && mv build ../dist"
}
}

0 comments on commit e8dab5f

Please sign in to comment.