Skip to content

Commit

Permalink
📦 Rebuild files
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed Sep 24, 2021
1 parent f23d50c commit a2a335b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13961,6 +13961,9 @@ const context = {
key: 'GITHUB_REPOSITORY',
required: true
}),
GITHUB_DEPLOYMENT_ENV: parser.getInput({
key: 'GITHUB_DEPLOYMENT_ENV'
}),
RUNNING_LOCAL: process.env.RUNNING_LOCAL === 'true'
}

Expand Down Expand Up @@ -14033,7 +14036,8 @@ const {
PR_NUMBER,
REF,
LOG_URL,
PR_LABELS
PR_LABELS,
GITHUB_DEPLOYMENT_ENV
} = __nccwpck_require__(4570)

const init = () => {
Expand All @@ -14047,7 +14051,7 @@ const init = () => {
repo: REPOSITORY,
ref: REF,
required_contexts: [],
environment: PRODUCTION ? 'Production' : 'Preview',
environment: GITHUB_DEPLOYMENT_ENV || (PRODUCTION ? 'Production' : 'Preview'),
description: 'Deploy to Vercel',
auto_merge: false
})
Expand Down

0 comments on commit a2a335b

Please sign in to comment.