I have got not a git repository in the attached above when i push the Code to a remote server (soft-serve)
and the code in the soft-serve/data/repos/<repo>/hooks/update.d/do
is like attached below screenshot
Expected behavior
It is expected to run the git command i even tried bash -c 'git status' nothing changed
Extra Context
if i have added to my updat.d code an git init it ignores the .git folder and make the directory as Bare repo with all folders and files in the main directory which is has .git folder
CI/CD Issue![ScreenShot](https://github.com/charmbracelet/soft-serve/assets/24813347/7870ed77-a15f-42c3-a695-3123c605ef45)
I have got not a git repository in the attached above when i push the Code to a remote server (soft-serve)
and the code in the![Update DO Script Screenshot](https://github.com/charmbracelet/soft-serve/assets/24813347/58eb0868-5eb9-4931-a5f8-b47c63801d3e)
soft-serve/data/repos/<repo>/hooks/update.d/do
is like attached below screenshotExpected behavior It is expected to run the git command i even tried bash -c 'git status' nothing changed
Extra Context if i have added to my updat.d code an
git init
it ignores the.git
folder and make the directory as Bare repo with all folders and files in the main directory which is has .git folderEnvironment:
latest
0.7.4