This commit is contained in:
Bozhidar 2024-09-13 15:00:11 +03:00
parent 4a773e1f1d
commit a49ec02e55
2 changed files with 3 additions and 4 deletions

View file

@ -1,4 +1,4 @@
echo "Cloning started at {{ date('Y-m-d H:i:s') }}
echo "Cloning started at {{ date('Y-m-d H:i:s') }}"
su -m {{$systemUsername}} -c "export HOME=/home/{{$systemUsername}}"
@ -18,5 +18,4 @@ su -m {{$systemUsername}} -c 'git clone {{$cloneUrl}} {{$projectDir}}'
phyre-php /usr/local/phyre/web/artisan git-repository:mark-as-cloned {{$gitRepositoryId}}
rm -rf /tmp/git-clone-{{$gitRepositoryId}}.sh
# rm -rf /tmp/git-clone-{{$gitRepositoryId}}.sh

View file

@ -1,4 +1,4 @@
echo "Pull started at {{ date('Y-m-d H:i:s') }}
echo "Pull started at {{ date('Y-m-d H:i:s') }}"
su -m {{$systemUsername}} -c "export HOME=/home/{{$systemUsername}}"