Properly abstract deployment asset downlod

This commit is contained in:
2026-05-05 17:56:02 +02:00
parent 596e94794e
commit ce4ed9744b
4 changed files with 52 additions and 13 deletions
+10
View File
@@ -0,0 +1,10 @@
package gitprovider
type DeployResult struct {
CommitHash string
CommitMessage string
}
type GitProvider interface {
FetchAndDeployBranch(owner, repo, branch, authToken, destPath string) (*DeployResult, error)
}