The elusive post-receive example that I so often need
$1
1 file changed, +2 -2
+2-2post-receive
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | #!/bin/bash |
| 2 | 2 | |
| 3 | 3 | # define the project details |
| 4 | -project=vflcountdown | |
| 4 | +project=PROJECT_NAME | |
| 5 | 5 | base=$HOME/$project |
| 6 | 6 | |
| 7 | 7 | while read oldrev newrev refname |
| @@ -13,4 +13,4 @@ do | ||
| 13 | 13 | git --work-tree=$worktree --git-dir=$base checkout -f $branch |
| 14 | 14 | cd $worktree |
| 15 | 15 | bash entrypoint.sh |
| 16 | -done | |
| 16 | +done |