Merge pull request #328 from kiwix/fix_git_deploy
Fix deployement of git repositories.
This commit is contained in:
commit
854a21367a
|
@ -69,12 +69,13 @@ then
|
|||
done
|
||||
fi
|
||||
|
||||
cd ${EXPORT_DIR}/GIT
|
||||
GIT_REPOS=$(ls -d */)
|
||||
if [[ "x$GIT_REPOS" != "x" ]]
|
||||
then
|
||||
for repo in $GIT_REPOS
|
||||
do
|
||||
(cd repo;
|
||||
(cd $repo;
|
||||
GIT_SSH_COMMAND"ssh -o StrictHostKeyChecking=no -i $SSH_KEY" git push
|
||||
)
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue