Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix reversed environment env var check
  • Loading branch information
Kristian Freeman committed Oct 14, 2019
1 parent 1cc0beb commit ee82b9d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions entrypoint.sh
Expand Up @@ -29,14 +29,11 @@ export CF_EMAIL="$INPUT_EMAIL"
export CF_API_KEY="$INPUT_APIKEY"

npm i @cloudflare/wrangler -g
npm i

ls

if [ -z "$INPUT_ENVIRONMENT" ]
then
wrangler publish -e "$INPUT_ENVIRONMENT"
else
wrangler publish
else
wrangler publish -e "$INPUT_ENVIRONMENT"
fi

0 comments on commit ee82b9d

Please sign in to comment.