move artifact url out of context

This commit is contained in:
yimysty
2022-08-04 16:23:15 -07:00
parent 225abf7840
commit d0b379e44d
7 changed files with 6 additions and 18 deletions

3
dist/index.js vendored
View File

@@ -7059,7 +7059,6 @@ function getRequiredVars() {
actionsId: process.env.GITHUB_ACTION,
githubApiUrl: process.env.GITHUB_API_URL ?? `https://api.github.com`,
githubToken: core.getInput('token'),
artifactName: core.getInput('artifact_name'),
}
}
@@ -7108,7 +7107,7 @@ class Deployment {
this.requestedDeployment = false
this.deploymentInfo = null
this.githubApiUrl = context.githubApiUrl
this.artifactName = context.artifactName
this.artifactName = core.getInput('artifact_name')
}
// Ask the runtime for the unsigned artifact URL and deploy to GitHub Pages