Skip to content

Commit

Permalink
wip: Allows to execute before/after hooks when deploying a service #204
Browse files Browse the repository at this point in the history
… [sip ci]
  • Loading branch information
Christophe Nouguier committed Dec 7, 2020
1 parent 1f2b63d commit cd746d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kargo
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ kargo_deploy()
source deploy/$SERVICE_BEFORE_HOOK
fi
local SERVICE_AFTER_HOOK=deploy/${SERVICE}_after.sh
if [ -f "$SERVICE_AFTER_HOOK" ]: then
if [ -f "$SERVICE_AFTER_HOOK" ]; then
AFTER_HOOKS_TO_RUN="$AFTER_HOOKS_TO_RUN $SERVICE_AFTER_HOOK"
fi
done
Expand Down

0 comments on commit cd746d1

Please sign in to comment.