diff --git a/index.js b/index.js index 86a6a9a..57dfb05 100644 --- a/index.js +++ b/index.js @@ -16123,8 +16123,8 @@ try { if ${accountId} { $ export CLOUDFLARE_ACCOUNT_ID="${accountId}" } - - if ${envrionment} { + + if ${environment} { $$ npx wrangler@2 pages publish "${directory}" --project-name="${projectName}" --env="$[environment}" } else { $$ npx wrangler@2 pages publish "${directory}" --project-name="${projectName}" diff --git a/src/index.ts b/src/index.ts index b1f6a68..6aeea7d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -64,8 +64,8 @@ try { if ${accountId} { $ export CLOUDFLARE_ACCOUNT_ID="${accountId}" } - - if ${envrionment} { + + if ${environment} { $$ npx wrangler@2 pages publish "${directory}" --project-name="${projectName}" --env="$[environment}" } else { $$ npx wrangler@2 pages publish "${directory}" --project-name="${projectName}"