Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-12-16 19:51:32 +00:00
parent 873ba7f939
commit 75ba0d6c3a
30 changed files with 1134 additions and 964 deletions

View File

@@ -11,10 +11,13 @@ import (
func main() {
functionService := function.NewFunctionService(os.Getenv("M3O_API_TOKEN"))
rsp, err := functionService.Deploy(&function.DeployRequest{
Entrypoint: "helloworld",
Branch: "main",
Entrypoint: "Helloworld",
Name: "helloworld",
Repo: "github.com/m3o/nodejs-function-example",
Runtime: "nodejs14",
Region: "europe-west1",
Repo: "https://github.com/m3o/m3o",
Runtime: "go116",
Subfolder: "examples/go-function",
})
fmt.Println(rsp, err)
}