# Add \`deploy-docs\` script \(\#3373\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/30962226722bf534daa8c6aa00fc51de4cbd83c0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 30962226722bf534daa8c6aa00fc51de4cbd83c0

Requested commit: 30962226722bf534daa8c6aa00fc51de4cbd83c0

Commit: 30962226722bf534daa8c6aa00fc51de4cbd83c0

Tree: a1f15b77fc6dc87b4a9a639353486d758f60909c

Author: Nate Butler

Committer: GitHub

## Message

```
Add `deploy-docs` script (#3373)

[[PR Description]]

Adds `script/deploy-docs`:
- If you don't already have it, it will clone the `zed-docs` repo into
`../zed-docs`
    - It will build the docs and output them in `../zed-docs`
    - Then it will open the docs.
- By default this "dry runs" (doesn't push) but you can pass `-p` to
push the changes.
    - If you add `-c` it will clean out the old docs before running.
    
If you run the script with `p` it will push up the changes, and vercel
will automatically deploy them.

Release Notes:

- N/A
```

## Parents

- [652e3b0bb6929ab4d90276f7538e54bb08f7e2ab](https://git.cafe/gitcafe/zed/commit/652e3b0bb6929ab4d90276f7538e54bb08f7e2ab?format=markdown)

- [a83d62691203f5933d670c19fe78883d87512bd3](https://git.cafe/gitcafe/zed/commit/a83d62691203f5933d670c19fe78883d87512bd3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/30962226722bf534daa8c6aa00fc51de4cbd83c0?format=markdown)
