summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/cicd-post-receive2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cicd-post-receive b/src/cicd-post-receive
index 2dc4128..db5b723 100755
--- a/src/cicd-post-receive
+++ b/src/cicd-post-receive
@@ -31,4 +31,4 @@ for n in `seq 0 $((GIT_PUSH_OPTION_COUNT - 1))`; do
done
-cicd add $DEPLOY_OPT -V "$SHA" -R "$REFNAME" "$PWD"
+sudo -u cicd cicd add $DEPLOY_OPT -V "$SHA" -R "$REFNAME" "$PWD"