# Studio and functions

Deploy Studio, then the functions that refresh the cache and create redirects.

```bash
cd apps/studio
pnpm run deploy
```

Use `pnpm run deploy`, not `pnpm deploy`, which is pnpm's own command.

## Sanity Functions

- **invalidate-tags** refreshes the site's cache when content is published
- **auto-redirect** creates a redirect when a page's slug changes
