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 = {
type: 'basic',
username: process.env.USERNAME,
password: process.env.ACCESS_TOKEN
username: process.env.GITHUB_USERNAME,
password: process.env.GITHUB_ACCESS_TOKEN
};
module.exports = { owner, repo, prBaseUrl, octokitConfig, octokitAuth }

View File

@ -1,5 +1,6 @@
USERNAME='camperbot'
ACCESS_TOKEN='replace this with a personal access token'
GITHUB_USERNAME='camperbot'
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='freeCodeCamp'
RATELIMIT_INTERVAL=1500