AfterRollout
Workload to run a script after a new application version has been deployed.
Description
With this workload, you can define an npm script to run after rolling out a new application version.
An AfterRollout workload is initialized with an ID and a script name.
ts
import { AfterRollout } from "@monolayer/sdk";
const afterRollout = new AfterRollout("after-rollout", {
script: "notify", // Script name in package.json
});
export default afterRollout;