update auto commit script

This commit is contained in:
ray 2020-04-21 21:53:14 +01:00
parent 5a1509ecf4
commit 930257f4af
2 changed files with 3 additions and 0 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ state
sticker.sql sticker.sql
tag_cache tag_cache
tag_cache.old tag_cache.old
cron-log.txt

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
cd /home/ray/.config/mpd
date
git add playlists/ git add playlists/
if git commit -m 'auto playlist update' ; then if git commit -m 'auto playlist update' ; then
git push -u origin master git push -u origin master