diff --git a/views/deploys/index.php b/views/deploys/index.php index c5f3a85..8634cb3 100644 --- a/views/deploys/index.php +++ b/views/deploys/index.php @@ -123,7 +123,7 @@ App.ui.notify(App.i18n.get("A deploy is already in progress, please wait until finishes."), "warning"); } else { UIkit.modal.confirm(App.i18n.get("Triggering a new Drone deploy. Are you sure?

Using build: #") + $this.build, function() { - App.callmodule('drone:createDeploy', $this.build).then(function(data) { + App.callmodule('drone:createDeploy', $this.build, 'manage.deploy').then(function(data) { if (!data || !data.result || data.result.error) { if (data && data.result && data.result.error) { App.ui.notify(App.i18n.get(data.result.error), "danger");