Commit Graph

60 Commits

Author SHA1 Message Date
Jess Bees 4c4a9146cc set host header 2022-11-16 12:31:22 -05:00
Jess Bees 88e44eb7c2 use different env var 2022-11-16 12:27:35 -05:00
Jess Bees 5c24c29b4d report the env var 2022-11-16 12:21:11 -05:00
Jess Bees 0f34457470 report api url 2022-11-16 11:26:58 -05:00
Jess Bees dd5e0e9d1c Deprecate 'emit_telemetry' and remove its feature
Since we emit telemetry in a different way, we can remove this feature
from the action and prevent unintentional misuse.
2022-11-04 12:19:31 -04:00
James M. Greene b388ef8bf2 Remove unnecessary first-party use of Regenerator 2022-09-26 14:47:48 -05:00
James M. Greene 6bbc94d747 Remove unused deps related to Babel 2022-09-16 23:14:27 -05:00
Jess Bees 1c52af2b34 Add optional 'conclusion' argument to emitTelemetry
If present, will include the value of `conclusion` with the telemetry
POST body (gh/gh needs a separate PR to recognize this)
2022-09-15 12:14:23 -04:00
James M. Greene dd23652c5c Adhere to Prettier formatting 2022-09-09 18:51:35 -05:00
James M. Greene ec456f786c Correct outdated reference 2022-09-09 18:50:08 -05:00
James M. Greene b68f047ef0 Merge branch 'main' into upstream-preview-alpha 2022-09-09 18:49:17 -05:00
James M. Greene f5fafd81c2 Remove '.only' from the new unit test 2022-09-09 18:46:36 -05:00
James M. Greene d2d7f752d5 Add support for preview deployments 2022-09-09 18:44:03 -05:00
James M. Greene ad109d8dbd Add failing test 2022-09-09 18:29:17 -05:00
James M. Greene b742641b90 Correct organization references 2022-09-09 16:59:57 -05:00
Yoann Chaudet c7c77bb21c Explicitly handle cancellation on errors 2022-08-23 21:32:40 -07:00
Yoann Chaudet 4865e84b02 Bring back the formatter 2022-08-23 17:19:21 -07:00
yimysty 8daa1e0ead add syntax sugar back 2022-08-04 17:11:26 -07:00
yimysty 99f9079292 roll into right node syntax 2022-08-04 17:09:46 -07:00
yimysty 7f629c4ce0 apply the syntax 2022-08-04 17:04:26 -07:00
yimysty 35e615a00c check if it's due to "." 2022-08-04 16:56:13 -07:00
yimysty 462df77e16 add more log to debug 2022-08-04 16:52:07 -07:00
yimysty 9ebae0d26b try print error message 2022-08-04 16:25:55 -07:00
yimysty d0b379e44d move artifact url out of context 2022-08-04 16:23:15 -07:00
yimysty 225abf7840 increase test timeout 2022-08-04 16:13:28 -07:00
yimysty 1f0422c0df add some debug log? 2022-08-04 16:07:20 -07:00
yimysty 85b0d1617e moke get artifact name 2022-08-04 16:02:46 -07:00
yimysty 3e976523d7 adjust pages hard code endpoint + fix artifact look up 2022-08-04 15:43:58 -07:00
Mingzi 1ae5d2452b Update src/deployment.js
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2022-06-29 10:16:32 -07:00
yimysty e2219a89b1 fix broken test cases 2022-06-28 18:18:42 -07:00
yimysty 72b116b825 fix unintended changes 2022-06-28 18:01:48 -07:00
yimysty 11a13019c2 adjust debugging message 2022-06-28 17:58:10 -07:00
yimysty 801d74db09 switch to console.log 2022-06-28 17:55:21 -07:00
yimysty 64c69a5fdf normalize error message 2022-06-28 17:50:08 -07:00
yimysty 03d70e4a19 info stack trace 2022-06-28 17:44:21 -07:00
yimysty c3d24faf75 info stack trace 2022-06-28 17:38:14 -07:00
yimysty 2b0c6eaf67 try output stacktrace as well 2022-06-28 17:35:03 -07:00
yimysty 358b034ef8 improve error message 2022-06-28 16:08:07 -07:00
yimysty fce105b3ea fix unable to cancel deployment due to cancel token nil 2022-06-08 11:47:06 -07:00
Jess Bees 62c650c70d Remove the support for older dynamic jekyll workflows
The pages dynamic workflow now decouples telemetry from deploy for 100%
of users, so we can remove this old conditional.
2022-04-04 16:12:36 -04:00
Jess Bees ad36b7023a Don't bother converting action input to string
This has been an established pattern with Actions for a long time; we don't have to worry about it changing.

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2022-03-31 11:47:33 -04:00
Jess Bees 32b8b86ff0 Support existing behavior of this action 2022-03-29 15:08:35 -04:00
Jess Bees a598b2af14 Correctly test for boolean input's truthiness
It gets cast to a string! Eep!
2022-03-29 09:45:18 -04:00
Jess Bees f511fa4665 Merge branch 'main' into decouple-telemetry 2022-03-29 09:05:35 -04:00
yimysty 12940a5b99 fix the timeout not honor bug 2022-03-28 12:32:59 -07:00
yimysty 171a8a05dd update number parsing 2022-03-28 11:19:50 -07:00
Jess Bees 92f6725bee Only emit telemetry when the emit_telemetry input is truthy 2022-03-23 14:40:57 -04:00
Jess Bees e1279a88ef Don't call the telemetry pre-hook entrypoint 2022-03-23 14:22:16 -04:00
yimysty 8e75ed476c add error interval with some error specification 2022-01-26 16:49:02 -08:00
yimysty 090b886038 update error message 2022-01-12 13:09:46 -08:00