Skip to content

Commit

Permalink
fix entrypoint env vars
Browse files Browse the repository at this point in the history
debug

remove debug
  • Loading branch information
jafow committed Jul 19, 2020
1 parent 6a45e6f commit 7d0b6ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
set -e;
set -o pipefail;

if [ -z $GITHUB_ORG ]; then
if [ -z $ORGANIZATION ]; then
printf "%s\n" "Missing required GITHUB_ORG environment variable"
exit 1
elif [ -z $GITHUB_TOKEN ]; then
elif [ -z $ORG_OWNER_TOKEN ]; then
printf "%s\n" "Missing required GITHUB_TOKEN environment variable"
exit 1
fi

node main.js
node /app/main.js

0 comments on commit 7d0b6ef

Please sign in to comment.