metanohi/scripts/commit.sh

12 lines
130 B
Bash
Executable File

#!/bin/sh
cd ~/www/meta/nohi
git commit -a
git push
ssh webserverhost 'cd www/meta/nohi/scripts; ./hook_new.sh'
mege restart