Skip to content

Commit aa4ba6e

Browse files
committed
docs(readme): update site command
1 parent 5e39948 commit aa4ba6e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,18 @@ P.S. This command will look for the allocated `subdomain` and attempt to delete
197197

198198
The static sites are served from the selected directory (or the current directory if none is specified).
199199

200-
- **Deploy Site**: Deploy a static website from a directory.
200+
- **Create Site**: Create a static website from a directory.
201201
```bash
202-
puter> site:create <app_name> [<dir>] [--subdomain=<name>]
202+
puter> site:create <app_name> [<dir>] [--subdomain=<name>]
203203
```
204204
P.S. If the subdomain already exists, it will generate a new random one. You can set your own subdomain using `--subdomain` argument.
205205

206+
- **Deploy Site**: Deploy a static website from the current local directory to a remote directory. If no remote directory is specified, it deploys to the current directory on the remote instance.
207+
```bash
208+
puter> site:deploy [<remote_dir>] [--subdomain=<name>]
209+
```
210+
P.S. If the subdomain is not provided, it will be generated from the app name. The `--subdomain` argument allows you to specify a custom subdomain. All files in the remote directory will overwritten.
211+
206212
- **List Sites**: List all hosted sites.
207213
```bash
208214
puter> sites

0 commit comments

Comments
 (0)