Skip to content

Commit

Permalink
Deploy Production Code for Commit 340091a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Feb 16, 2022
1 parent 340091a commit 830e6a4
Show file tree
Hide file tree
Showing 6 changed files with 135 additions and 19 deletions.
16 changes: 9 additions & 7 deletions lib/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,15 @@ function run(configuration) {
(0, core_1.setFailed)((0, util_1.extractErrorMessage)(error));
}
finally {
const terminationMessage = `${status === constants_1.Status.FAILED
? 'Deployment failed! ❌'
: status === constants_1.Status.SUCCESS
? 'Completed deployment successfully! ✅'
: 'There is nothing to commit. Exiting early… 📭'}`;
(0, core_1.info)(terminationMessage);
(0, core_1.notice)(terminationMessage);
if (status === constants_1.Status.FAILED) {
(0, core_1.notice)('Deployment failed! ❌');
}
else if (status === constants_1.Status.SUCCESS) {
(0, core_1.info)('Completed deployment successfully! ✅');
}
else {
(0, core_1.info)('There is nothing to commit. Exiting early… 📭');
}
(0, core_1.exportVariable)('deployment_status', status);
(0, core_1.setOutput)('deployment-status', status);
}
Expand Down
4 changes: 2 additions & 2 deletions node_modules/@types/node/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

92 changes: 91 additions & 1 deletion node_modules/@types/node/buffer.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion node_modules/@types/node/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 2 additions & 7 deletions node_modules/@types/node/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 31 additions & 1 deletion node_modules/@types/node/url.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 830e6a4

Please sign in to comment.