forked from FormidableLabs/appr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.js
29 lines (22 loc) · 1023 Bytes
/
default.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
// exponent username for publishing
expUsername: process.env.EXP_USERNAME,
// exponent password for publishing
expPassword: process.env.EXP_PASSWORD,
// github username for posting into PR
githubUsername: process.env.GITHUB_USERNAME,
// github personal access token with at least `public_repo`
// scope (or appropriate scopes for private repositories)
// https://github.com/blog/1509-personal-api-tokens
githubToken: process.env.GITHUB_TOKEN,
// name of the github org the repository under build belongs to
githubOrg: process.env.GITHUB_ORG,
// name of the github repository being built
githubRepo: process.env.GITHUB_REPO,
// name of the GitHub source branch - only used for generating the
// exponent publish name, so if this value is not available in the
// environment, use any other branch/pr-unique string here
githubSourceBranch: process.env.GITHUB_SOURCE_BRANCH,
// pull request number, e.g. 123
githubPullRequestId: process.env.GITHUB_PR_NUMBER
};