Skip to content

Commit 830e6a4

Browse files
committed
Deploy Production Code for Commit 340091a 🚀
1 parent 340091a commit 830e6a4

File tree

6 files changed

+135
-19
lines changed

6 files changed

+135
-19
lines changed

lib/lib.js

+9-7
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,15 @@ function run(configuration) {
6666
(0, core_1.setFailed)((0, util_1.extractErrorMessage)(error));
6767
}
6868
finally {
69-
const terminationMessage = `${status === constants_1.Status.FAILED
70-
? 'Deployment failed! ❌'
71-
: status === constants_1.Status.SUCCESS
72-
? 'Completed deployment successfully! ✅'
73-
: 'There is nothing to commit. Exiting early… 📭'}`;
74-
(0, core_1.info)(terminationMessage);
75-
(0, core_1.notice)(terminationMessage);
69+
if (status === constants_1.Status.FAILED) {
70+
(0, core_1.notice)('Deployment failed! ❌');
71+
}
72+
else if (status === constants_1.Status.SUCCESS) {
73+
(0, core_1.info)('Completed deployment successfully! ✅');
74+
}
75+
else {
76+
(0, core_1.info)('There is nothing to commit. Exiting early… 📭');
77+
}
7678
(0, core_1.exportVariable)('deployment_status', status);
7779
(0, core_1.setOutput)('deployment-status', status);
7880
}

node_modules/@types/node/README.md

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@types/node/buffer.d.ts

+91-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@types/node/index.d.ts

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@types/node/package.json

+2-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/@types/node/url.d.ts

+31-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)