mirror of
https://github.com/actions/deploy-pages.git
synced 2026-02-09 03:45:15 +00:00
WIP
This commit is contained in:
@@ -65,7 +65,7 @@ async function getArtifactMetadata({ githubToken, runId, artifactName }) {
|
||||
const response = await octokit.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', {
|
||||
owner: github.context.repo.owner,
|
||||
repo: github.context.repo.repo,
|
||||
runId: runId
|
||||
run_id: runId
|
||||
})
|
||||
|
||||
return response.data
|
||||
|
||||
@@ -61,7 +61,7 @@ class Deployment {
|
||||
core.info("Getting artifact's metadata...")
|
||||
const artifactData = await getArtifactMetadata({
|
||||
githubToken: this.githubToken,
|
||||
workflowRunId: this.workflowRun,
|
||||
runId: this.workflowRun,
|
||||
artifactName: this.artifactName
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user