Modifié : automate.sh
This commit is contained in:
parent
5a72d2b706
commit
f9f34d53c8
@ -28,7 +28,7 @@ if [ $branch == 1 ] ; then
|
|||||||
git commit
|
git commit
|
||||||
echo "Push des fichiers au Gitea, branche main..."
|
echo "Push des fichiers au Gitea, branche main..."
|
||||||
sleep 2
|
sleep 2
|
||||||
git push origin main
|
git push -q origin main
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ $answer == 1 ] ; then
|
if [ $answer == 1 ] ; then
|
||||||
@ -45,6 +45,6 @@ else
|
|||||||
git commit
|
git commit
|
||||||
echo "Push des fichiers au Gitea, branche test..."
|
echo "Push des fichiers au Gitea, branche test..."
|
||||||
sleep 2
|
sleep 2
|
||||||
git push origin test
|
git push -q origin test
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
Loading…
x
Reference in New Issue
Block a user