mirror of
https://github.com/kaboomserver/framework.git
synced 2024-09-27 11:54:57 +00:00
Actually enter schematic folder when pushing files
This commit is contained in:
parent
5bc1042491
commit
e8d24444be
|
@ -13,7 +13,9 @@ while true; do
|
||||||
git clone --depth 1 git@github.com:kaboomserver/schematics.git $folder
|
git clone --depth 1 git@github.com:kaboomserver/schematics.git $folder
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$(cd $folder && git add $(git ls-files -o) -v)" ]; then
|
cd $folder
|
||||||
|
|
||||||
|
if [ "$(git add $(git ls-files -o) -v)" ]; then
|
||||||
git -c user.name='kaboom' -c user.email='kaboom.pw' commit -m "Add new schematics"
|
git -c user.name='kaboom' -c user.email='kaboom.pw' commit -m "Add new schematics"
|
||||||
git push
|
git push
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue