summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/skiff/main.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/skiff/main.go b/cmd/skiff/main.go
index cc48c67..52d57c1 100644
--- a/cmd/skiff/main.go
+++ b/cmd/skiff/main.go
@@ -59,11 +59,9 @@ func main() {
func cmdDeploy(args []string) error {
fs := flag.NewFlagSet("deploy", flag.ExitOnError)
app := fs.String("app", "", "app name")
- oldSHA := fs.String("old", "", "old commit sha (unused, kept for hook parity)")
newSHA := fs.String("new", "", "new commit sha to deploy")
ref := fs.String("ref", "", "ref being pushed, e.g. refs/heads/main")
fs.Parse(args)
- _ = oldSHA
if *app == "" || *newSHA == "" {
return fmt.Errorf("--app and --new are required")