Skip to content

Commit

Permalink
fixed docs for ops util command (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Zanghì <[email protected]>
  • Loading branch information
marcozanghi and Marco Zanghì authored Nov 30, 2024
1 parent 7152fee commit 1814487
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/cli/assets/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ upload static assets.

You can upload a folder in this web area with

`ops web upload <folder>`
`ops util upload <folder>`

Synopsis:

Expand All @@ -22,7 +22,7 @@ You can upload a folder in this web area with
Commands to upload and manage static content.

Usage:
web upload <folder> [--quiet] [--clean]
util upload <folder> [--quiet] [--clean]

Commands:
upload <folder> Uploads a folder to the web bucket in OpenServerless.
Expand Down
4 changes: 2 additions & 2 deletions content/en/docs/tutorial/first-steps/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ platform is deployed at, but there is an handy command that does it
automatically for all files in a folder:

```bash
ops web upload web/
ops util upload web/
```

Pass to `ops web upload` the path to folder where the index.html is
Pass to `ops util upload` the path to folder where the index.html is
stored in (the `web` folder) and visit again `<apihost>`.

Now you should see the new index page:
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/tutorial/form-validation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ couple of attributes to the form:

Upload the web folder again with the new changes:

ops web upload web/
ops util upload web/

Now if you go to the contact form page the send button should work. It
will invoke the submit action which in turn will return some html.
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/tutorial/notify-message/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ And update the `index.html`:
enctype="application/x-www-form-urlencoded"> <-- new
```

Don’t forget to re-upload the web folder with `ops web upload web/`.
Don’t forget to re-upload the web folder with `ops util upload web/`.

Now try to fill out the form again and press send! It will execute the
sequence and you will receive the message from your Slack App.
Expand Down

0 comments on commit 1814487

Please sign in to comment.