1

Ability to not notify when skipping a deploy

  • Live

R
Rias

Currently when you set up a deploy script that skips on certain commits, it still notifies of a successful deploy. If it skipped, it shouldn't notify.

A

Activity Newest / Oldest

Avatar

Dennis

Status changed to: Live

Avatar

Dennis

It is impossible for us to properly detect when the script runs exit to skip deployment notifications. So what we did, is add a variable that gives you even more control anyway.

Add the variable {DO_NOT_NOTIFY} to your deploy script inside your if statement, or at the part you want to have it skipped. (Also view image)

We've also added this to our documentation article: ploi.io/documentation/deployment/how-to-skip-a-deployment-via-commit-message


  • R
Avatar

Dennis

Status changed to: Under review

Avatar

Dennis

What if the deployment fails (even before the if statement, or inside), then it should output the notification I presume right? It's kinda priority to fix it then.


Avatar

Dennis

Status changed to: Planned