diff options
Diffstat (limited to 'internal/tmpl/post-receive.tmpl')
| -rw-r--r-- | internal/tmpl/post-receive.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/tmpl/post-receive.tmpl b/internal/tmpl/post-receive.tmpl new file mode 100644 index 0000000..b06d46e --- /dev/null +++ b/internal/tmpl/post-receive.tmpl @@ -0,0 +1,6 @@ +#!/bin/sh +# Installed by `skiff new-app {{.Name}}`. Do not edit by hand - re-run +# new-app (or hand-edit the app name below) if this repo is ever renamed. +while read old new ref; do + skiff deploy --app "{{.Name}}" --old "$old" --new "$new" --ref "$ref" || exit 1 +done |
