diff --git a/src/index.ts b/src/index.ts index ff78f0f..4beb23d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -106,7 +106,7 @@ const createDeployment = async () => { const response = await octokit.repos.createDeployment({ ...context.repo, ref: githubDeploymentRef, - task: artifactName, + task: artifactName || undefined, required_contexts: [], githubEnvironmentName, auto_merge: false,