You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("no function found in current directory.\nYou need to be inside a function directory to deploy it.\n\nTry this:\n func create --language go myfunction Create a new function\n cd myfunction Go into the function directory\n func deploy --registry <registry> Deploy to the cloud\n\nOr if you have an existing function:\n cd path/to/your/function Go to your function directory\n func deploy --registry <registry> Deploy the function\n\nFor more detailed deployment options, run 'func deploy --help'.")
257
+
returnfmt.Errorf(`no function found in current directory.
258
+
You need to be inside a function directory to deploy it.
259
+
260
+
Try this:
261
+
func create --language go myfunction Create a new function
262
+
cd myfunction Go into the function directory
263
+
func deploy --registry <registry> Deploy to the cloud
264
+
265
+
Or if you have an existing function:
266
+
cd path/to/your/function Go to your function directory
267
+
func deploy --registry <registry> Deploy the function
268
+
269
+
For more detailed deployment options, run 'func deploy --help'`)
258
270
} else {
259
271
// TODO: this case is not supported because the pipeline
260
272
// implementation requires the function's name, which is in the
0 commit comments