Skip to content

Commit

Permalink
Patch Missing Bit: Build it!
Browse files Browse the repository at this point in the history
npm run build && npm run package
  • Loading branch information
QuintinWillison committed Sep 27, 2022
1 parent 906d5fd commit 165f5d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const upload = (params) => __awaiter(void 0, void 0, void 0, function* () {
core.info(`uploaded: ${params.Key}`);
});
const createDeployment = () => __awaiter(void 0, void 0, void 0, function* () {
const response = yield octokit.repos.createDeployment(Object.assign(Object.assign({}, github_1.context.repo), { ref: githubDeploymentRef, task: artifactName, required_contexts: [], githubEnvironmentName, auto_merge: false }));
const response = yield octokit.repos.createDeployment(Object.assign(Object.assign({}, github_1.context.repo), { ref: githubDeploymentRef, task: (artifactName && artifactName.length > 0) ? artifactName : 'root', required_contexts: [], githubEnvironmentName, auto_merge: false }));
if (![201, 202].includes(response.status)) {
core.setFailed(`Failed to create deployment, received ${response.status} response status`);
process.exit(1);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit 165f5d9

Please sign in to comment.