Skip to content

Commit

Permalink
replace GITHUB_OAUTH_TOKEN env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mktcode committed Jan 20, 2023
1 parent 42107ee commit b63a7cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ generate_dot_env() {
cp "./$1/.env.sample" "./$1/.env"
sed -i 's/PAT=.*/PAT='"$PAT"'/' "./$1/.env"
sed -i 's/PATS=.*/PATS='"$PAT"'/' "./$1/.env"
sed -i 's/GITHUB_OAUTH_TOKEN=.*/GITHUB_OAUTH_TOKEN='"$PAT"'/' "./$1/.env"
else
echo -e "${Blue}$1/.env already exists${Color_Off}\n"
fi
Expand Down

0 comments on commit b63a7cb

Please sign in to comment.