mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
move artifact url out of context
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user