Skip to main content

Create pop-up alert on cpanel.yml error or exit?

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey hey!  I spoke with the dev team and the only supported end-user notification area we have is the News page:

    https://docs.cpanel.net/whm/cpanel/modify-cpanel-whm-news/

    You could likely make something that shows up here, but I don't believe there's going to be a way to customize/add a popup for a specific command or action in the UI.

    0
  • pkiff

    Got it. Thanks for investigating.

    0
  • itx_sumeet

    No, cPanel does not support pop-up alerts, custom UI messages, or UAPI calls from cpanel.yml; the only supported feedback on failure is the deployment status and logs, so your best option is to fail with a clear exit code and write a simple, readable error message to the deploy log (or send an email/Slack notification from the script).

    0

Please sign in to leave a comment.