mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
apply the syntax
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -7057,7 +7057,6 @@ function getRequiredVars() {
|
||||
buildVersion: process.env.GITHUB_SHA,
|
||||
buildActor: process.env.GITHUB_ACTOR,
|
||||
actionsId: process.env.GITHUB_ACTION,
|
||||
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
|
||||
githubToken: core.getInput('token'),
|
||||
}
|
||||
}
|
||||
@@ -7106,7 +7105,7 @@ class Deployment {
|
||||
this.workflowRun = context.workflowRun
|
||||
this.requestedDeployment = false
|
||||
this.deploymentInfo = null
|
||||
this.githubApiUrl = context.githubApiUrl
|
||||
this.githubApiUrl = process.env.GITHUB_API_URL ? process.env.GITHUB_API_URL : "https://api.github.com",
|
||||
this.artifactName = core.getInput('artifact_name')
|
||||
}
|
||||
|
||||
|
||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -7057,7 +7057,6 @@ function getRequiredVars() {
|
||||
buildVersion: process.env.GITHUB_SHA,
|
||||
buildActor: process.env.GITHUB_ACTOR,
|
||||
actionsId: process.env.GITHUB_ACTION,
|
||||
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
|
||||
githubToken: core.getInput('token'),
|
||||
}
|
||||
}
|
||||
@@ -7106,7 +7105,7 @@ class Deployment {
|
||||
this.workflowRun = context.workflowRun
|
||||
this.requestedDeployment = false
|
||||
this.deploymentInfo = null
|
||||
this.githubApiUrl = context.githubApiUrl
|
||||
this.githubApiUrl = process.env.GITHUB_API_URL ? process.env.GITHUB_API_URL : "https://api.github.com",
|
||||
this.artifactName = core.getInput('artifact_name')
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -10,7 +10,6 @@ function getRequiredVars() {
|
||||
buildVersion: process.env.GITHUB_SHA,
|
||||
buildActor: process.env.GITHUB_ACTOR,
|
||||
actionsId: process.env.GITHUB_ACTION,
|
||||
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
|
||||
githubToken: core.getInput('token'),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ class Deployment {
|
||||
this.workflowRun = context.workflowRun
|
||||
this.requestedDeployment = false
|
||||
this.deploymentInfo = null
|
||||
this.githubApiUrl = context.githubApiUrl
|
||||
this.githubApiUrl = process.env.GITHUB_API_URL ? process.env.GITHUB_API_URL : "https://api.github.com",
|
||||
this.artifactName = core.getInput('artifact_name')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user