Skip to content

Commit 5a87ff6

Browse files
committed
Allowed repos are specified in allowed_repos.txt
1 parent 337d22b commit 5a87ff6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ typings/
6060
# dotenv environment variables file
6161
.env
6262

63+
# Comma-separated list of allowed repos for microfeedback-github.now.sh
64+
allowed_repos.txt

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test:debug": "NODE_ENV=test iron-node ./node_modules/ava/profile.js test.js",
1414
"lint": "xo",
1515
"release": "np && npm run deploy",
16-
"deploy": "now . -e GH_TOKEN=@microfeedback-gh-token --public && now alias"
16+
"deploy": "now . -e GH_TOKEN=@microfeedback-gh-token -e ALLOWED_REPOS=$(cat allowed_repos.txt) --public && now alias"
1717
},
1818
"engines": {
1919
"node": "8.x.x"

0 commit comments

Comments
 (0)