refactor: move pre-deploy call to post-release-builder

Some of the hooks should happen before we push images out...
This commit is contained in:
Jose Diaz-Gonzalez
2021-08-13 01:42:11 -04:00
parent faf53aa479
commit 257abfaee8
2 changed files with 8 additions and 3 deletions

View File

@@ -657,7 +657,6 @@ cmd-deploy() {
verify_app_name "$APP"
local DOKKU_SCHEDULER=$(get_app_scheduler "$APP")
plugn trigger pre-deploy "$APP" "$IMAGE_TAG"
plugn trigger scheduler-deploy "$DOKKU_SCHEDULER" "$APP" "$IMAGE_TAG"
}