feat: changed .env variables

This commit is contained in:
Randell Dawson
2018-11-22 10:42:06 -08:00
committed by mrugesh mohapatra
parent 80879883a9
commit c5cc5a887b
2 changed files with 5 additions and 4 deletions

View File

@ -19,8 +19,8 @@ const octokitConfig = {
const octokitAuth = { const octokitAuth = {
type: 'basic', type: 'basic',
username: process.env.USERNAME, username: process.env.GITHUB_USERNAME,
password: process.env.ACCESS_TOKEN password: process.env.GITHUB_ACCESS_TOKEN
}; };
module.exports = { owner, repo, prBaseUrl, octokitConfig, octokitAuth } module.exports = { owner, repo, prBaseUrl, octokitConfig, octokitAuth }

View File

@ -1,5 +1,6 @@
USERNAME='camperbot' GITHUB_USERNAME='camperbot'
ACCESS_TOKEN='replace this with a personal access token' GITHUB_ACCESS_TOKEN='replace this with a personal access token'
TRAVIS_ACCESS_TOKEN='replace this with a Travis access token'
REPOSITORY_OWNER='freeCodeCamp-rocks' REPOSITORY_OWNER='freeCodeCamp-rocks'
REPOSITORY='freeCodeCamp' REPOSITORY='freeCodeCamp'
RATELIMIT_INTERVAL=1500 RATELIMIT_INTERVAL=1500