Test another approach for schematic uploads

This commit is contained in:
mathias 2019-02-23 15:09:41 +02:00
parent 28c8f4caf6
commit c5a9170a16

View file

@ -20,8 +20,7 @@ done'
./tmux new -d -s schematics 'while true; do
cd $HOME/plugins/WorldEdit/schematics/
if [ "$(git diff --name-only --diff-filter=A HEAD)" ]; then
git add --all
if [ "$(git add $(git ls-files -o) -v)" ]; then
git -c user.name='kaboom' -c user.email='kaboom' commit -m "Add new schematics"
git push
fi