We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52fc31d commit 0261ab9Copy full SHA for 0261ab9
internal/deploy.go
@@ -92,6 +92,11 @@ func Deploy(ctx context.Context, config Config) error {
92
fallthrough
93
case aliasExist: // we found abbreviation template
94
url = strings.ReplaceAll(repoTemplate, "{0}", repo)
95
+ // alias may point to the dir too
96
+ if info, err := os.Stat(url); err == nil && info.IsDir() {
97
+ projectDir = url
98
+ break
99
+ }
100
101
default: // finally all we need is to pull remote repository by URL
102
tmpDir, err := cloneFromGit(ctx, config.Git, url)
0 commit comments