mirror of
https://github.com/kaboomserver/framework.git
synced 2024-11-28 01:55:33 -05:00
Actually enter schematic folder when pushing files
This commit is contained in:
parent
5bc1042491
commit
e8d24444be
1 changed files with 3 additions and 1 deletions
|
@ -13,7 +13,9 @@ while true; do
|
|||
git clone --depth 1 git@github.com:kaboomserver/schematics.git $folder
|
||||
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 push
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue