message: handle hard failure deployment
diff: @@ -4,7 +4,6 @@ import { runTest } from 'storybook-chromatic/bin/tester/index';
  import { verifyOptions } from 'storybook-chromatic/bin/lib/verify-option';
  async function run() {
  - try {
  const token = getInput('token');
  const github = new GitHub(token);
  @@ -28,6 +27,13 @@ async function run() {
  required_contexts: [],
  });
  + github.repos.createDeploymentStatus({
  + ...context.repo,
  + deployment_id: id,
  + state: "in_progress",
  + });
  +
  + try {
  info('options: ' + JSON.stringify({
  buildScriptName,
  scriptName,
  @@ -42,11 +48,6 @@ async function run() {
  storybookCa,
  }, null, 2));
  - github.repos.createDeploymentStatus({
  - ...context.repo,
  - deployment_id: id,
  - state: "in_progress",
  - });
  const maybe = (a) => {
  if(!a) {
  @@ -91,6 +92,12 @@ async function run() {
  e.stack && error(e.stack);
  e.description && error(e.description);
  + github.repos.createDeploymentStatus({
  + ...context.repo,
  + deployment_id: id,
  + state: 'failure',
  + });
  +
  setFailed(e.message);
  }
  }
  