Tweak up infinote some more.

This commit is contained in:
Kevin Fenzi 2015-10-13 17:55:08 +00:00
parent b3c67cbc8a
commit 6b8057e1e9
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
cd /srv/web/infinote
git add . >/dev/null
git commit -a -m "Automated Commit of $1" >/dev/null
git commit -a -m --author="infinote <nobody@fedoraproject.org>" "Automated Commit of $1" >/dev/null

View file

@ -60,7 +60,7 @@
- config
- name: add git commit script for infinote
template: src=infinoted-git-commit dest=/usr/local/bin/infinoted-git-commit mode=0755
copy: src=infinoted-git-commit dest=/usr/local/bin/infinoted-git-commit mode=0755
tags:
- infinote
- config

View file

@ -17,7 +17,7 @@ interval=60
directory=/srv/web/infinote
interval=10
# TODO: write git hook. https://github.com/gobby/gobby/wiki/PluginDirectorySync
#hook=
hook=/usr/local/bin/infinoted-git-commit
[logging]
log-connections=true