[Fix] Fix mistake in git config set for runner user

This commit is contained in:
samuel 2023-05-03 14:15:45 +02:00
parent 5a5847b9ef
commit c02759b511
1 changed files with 2 additions and 2 deletions

View File

@ -41,9 +41,9 @@ if ! id %{name}-runner; then
--gid %{name}-runner-deployer \
%{name}-runner
runuser --login %{name}-runner
runuser --login %{name}-runner -- git \
runuser --user %{name}-runner -- git config \
--global user.email %{name}-runner@netoik.io
runuser --login %{name}-runner -- git \
runuser --user %{name}-runner -- git config \
--global user.name %{name}-runner
fi
if ! id %{name}-deployer; then