[Fix] Fix mistake in git config set for runner user
This commit is contained in:
parent
5a5847b9ef
commit
c02759b511
|
@ -41,9 +41,9 @@ if ! id %{name}-runner; then
|
||||||
--gid %{name}-runner-deployer \
|
--gid %{name}-runner-deployer \
|
||||||
%{name}-runner
|
%{name}-runner
|
||||||
runuser --login %{name}-runner
|
runuser --login %{name}-runner
|
||||||
runuser --login %{name}-runner -- git \
|
runuser --user %{name}-runner -- git config \
|
||||||
--global user.email %{name}-runner@netoik.io
|
--global user.email %{name}-runner@netoik.io
|
||||||
runuser --login %{name}-runner -- git \
|
runuser --user %{name}-runner -- git config \
|
||||||
--global user.name %{name}-runner
|
--global user.name %{name}-runner
|
||||||
fi
|
fi
|
||||||
if ! id %{name}-deployer; then
|
if ! id %{name}-deployer; then
|
||||||
|
|
Loading…
Reference in New Issue