mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: improve UX and publish/deploy command (#359)
* fn: improve UX and publish/deploy command * fn: remove wrong use cases for deploy * fn: fix regression introduced by merge
This commit is contained in:
@@ -48,8 +48,8 @@ If you only want to download the code, pass the `--download-only` flag. The
|
||||
you tweak the settings on a command level. Finally, you can import a different version of your lambda function than the latest one
|
||||
by passing `--version <version>.`
|
||||
|
||||
You can then publish the imported lambda as follows:
|
||||
You can then deploy the imported lambda as follows:
|
||||
```
|
||||
./fn publish -d ./user/my-function
|
||||
./fn deploy -d ./user/my-function user
|
||||
````
|
||||
Now the function can be reached via ```http://$HOSTNAME/r/user/my-function```
|
||||
Reference in New Issue
Block a user