diff --git a/deploy_command.go b/deploy_command.go index e286d03..cdd12f9 100644 --- a/deploy_command.go +++ b/deploy_command.go @@ -24,7 +24,7 @@ func deployCmd() *cobra.Command { switch config.Type { case UpyunDeploy: if !isCommandExist("upx") { - if err := goInstall("github.com/upyun/upx"); err != nil { + if err := goInstall("github.com/upyun/upx/cmd/upx"); err != nil { logger.Errorf("install upx failed: %+v", err) return }