Skip to content

Commit b36f842

Browse files
committed
Deploy Production Code for Commit 0752a8c 🚀
1 parent 0752a8c commit b36f842

31 files changed

+2596
-314
lines changed

lib/lib.js

+22-4
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,24 @@ function run(configuration) {
2323
let status = constants_1.Status.RUNNING;
2424
try {
2525
(0, core_1.info)(`
26-
GitHub Pages Deploy Action 🚀
27-
26+
╭━━━╮╭╮╭╮╱╭╮╱╱╭╮╱╱╭━━━╮
27+
┃╭━╮┣╯╰┫┃╱┃┃╱╱┃┃╱╱┃╭━╮┃
28+
┃┃╱╰╋╮╭┫╰━╯┣╮╭┫╰━╮┃╰━╯┣━━┳━━┳━━┳━━╮
29+
┃┃╭━╋┫┃┃╭━╮┃┃┃┃╭╮┃┃╭━━┫╭╮┃╭╮┃┃━┫━━┫
30+
┃╰┻━┃┃╰┫┃╱┃┃╰╯┃╰╯┃┃┃╱╱┃╭╮┃╰╯┃┃━╋━━┃
31+
╰━━━┻┻━┻╯╱╰┻━━┻━━╯╰╯╱╱╰╯╰┻━╮┣━━┻━━╯
32+
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭━╯┃
33+
╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰━━╯
34+
╭━━━╮╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╭━━━╮╱╱╭╮
35+
╰╮╭╮┃╱╱╱╱╱┃┃╱╱╱╱╱╱╱╱┃╭━╮┃╱╭╯╰╮
36+
╱┃┃┃┣━━┳━━┫┃╭━━┳╮╱╭╮┃┃╱┃┣━┻╮╭╋┳━━┳━╮
37+
╱┃┃┃┃┃━┫╭╮┃┃┃╭╮┃┃╱┃┃┃╰━╯┃╭━┫┃┣┫╭╮┃╭╮╮
38+
╭╯╰╯┃┃━┫╰╯┃╰┫╰╯┃╰━╯┃┃╭━╮┃╰━┫╰┫┃╰╯┃┃┃┃
39+
╰━━━┻━━┫╭━┻━┻━━┻━╮╭╯╰╯╱╰┻━━┻━┻┻━━┻╯╰╯
40+
╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╭━╯┃
41+
╱╱╱╱╱╱╱╰╯╱╱╱╱╱╱╰━━╯
42+
`);
43+
(0, core_1.info)(`
2844
💖 Support: https://github.com/sponsors/JamesIves
2945
📣 Maintained by James Ives: https://jamesiv.es
3046
@@ -50,11 +66,13 @@ function run(configuration) {
5066
(0, core_1.setFailed)((0, util_1.extractErrorMessage)(error));
5167
}
5268
finally {
53-
(0, core_1.info)(`${status === constants_1.Status.FAILED
69+
const terminationMessage = `${status === constants_1.Status.FAILED
5470
? 'Deployment failed! ❌'
5571
: status === constants_1.Status.SUCCESS
5672
? 'Completed deployment successfully! ✅'
57-
: 'There is nothing to commit. Exiting early… 📭'}`);
73+
: 'There is nothing to commit. Exiting early… 📭'}`;
74+
(0, core_1.info)(terminationMessage);
75+
(0, core_1.notice)(terminationMessage);
5876
(0, core_1.exportVariable)('deployment_status', status);
5977
(0, core_1.setOutput)('deployment-status', status);
6078
}

lib/util.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const hasRequiredParameters = (action, params) => {
4040
/* Verifies the action has the required parameters to run, otherwise throw an error. */
4141
const checkParameters = (action) => {
4242
if (!hasRequiredParameters(action, ['token', 'sshKey'])) {
43-
throw new Error('No deployment token/method was provided. You must provide the action with either a Personal Access Token or the GitHub Token secret in order to deploy. If you wish to use an ssh deploy token then you must set SSH to true.');
43+
throw new Error('No deployment token/method was provided. You must provide the action with either a Personal Access Token or the GitHub Token secret in order to deploy. For more details on how to use an ssh deploy key please refer to the documentation.');
4444
}
4545
if (!hasRequiredParameters(action, ['branch'])) {
4646
throw new Error('Branch is required.');
@@ -52,7 +52,7 @@ const checkParameters = (action) => {
5252
throw new Error(`The directory you're trying to deploy named ${action.folderPath} doesn't exist. Please double check the path and any prerequisite build scripts and try again. ❗`);
5353
}
5454
if (!constants_1.SupportedOperatingSystems.includes(process.env.RUNNER_OS)) {
55-
(0, core_1.info)(`The operating system you're using is not supported and results may be varied. Please refer to the documentation for more details. ❗`);
55+
(0, core_1.warning)(`The operating system you're using is not supported and results may be varied. Please refer to the documentation for more details. ❗`);
5656
}
5757
};
5858
exports.checkParameters = checkParameters;

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/crypto.d.ts

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

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

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

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

+10
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/util.d.ts

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

0 commit comments

Comments
 (0)