[Fix] Set permission for deployer to access to runner home dir
This commit is contained in:
parent
c02759b511
commit
5f73a1d0ed
|
@ -40,6 +40,7 @@ if ! id %{name}-runner; then
|
|||
--groups %{name}-git-runner,%{name}-runner-deployer \
|
||||
--gid %{name}-runner-deployer \
|
||||
%{name}-runner
|
||||
chmod 710 /home/%{name}-runner
|
||||
runuser --login %{name}-runner
|
||||
runuser --user %{name}-runner -- git config \
|
||||
--global user.email %{name}-runner@netoik.io
|
||||
|
|
Loading…
Reference in New Issue