diff options
author | EuAndreh <eu@euandre.org> | 2025-03-09 17:42:50 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-09 17:47:00 -0300 |
commit | 0dac2461fb9b1f1b6bf779a2e90954c92dbbbfa2 (patch) | |
tree | dc865066418a0887dc5e117d55ead7563f49fbfa | |
parent | src/cicd: If order of printf arguments (diff) | |
download | cicd-0dac2461fb9b1f1b6bf779a2e90954c92dbbbfa2.tar.gz cicd-0dac2461fb9b1f1b6bf779a2e90954c92dbbbfa2.tar.xz |
src/cicd-post-receive: Run cicd(8) as "cicd" user
-rwxr-xr-x | src/cicd-post-receive | 2 |
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" |