mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-21 17:43:23 +01:00
Fix reversed environment env var check
This commit is contained in:
parent
1cc0beba60
commit
ee82b9d1be
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue