# Publishing to a GitHub + Vercel site

## What it does

For a site built in a GitHub repository and hosted on Vercel, Nexus publishes each article as a pull request. The piece goes live when someone reviews the Vercel preview and merges.

## Set it up

1. **"Connect GitHub for them."** Nexus posts an install link for its GitHub app.
2. ✋ Someone with access to the client's repository installs it on that repository.
3. Tell Nexus which repository to publish to: **"Set the git publishing target to owner/name."**
4. **"Check the GitHub connection."**

## Use it

- **"Publish [title] to the site."** Nexus opens the pull request and posts the preview link.
- ✋ Review the preview and merge.
- After merging: **"[title] is live at [url]."** That triggers the social cross-posts.

## Troubleshooting

- **The message says "Git auth failed."** The credential expired or can't see the repository. The message says which.

## Prompts

- "Connect GitHub for them."
- "Set the git publishing target to owner/name."
- "Check the GitHub connection."
- "Publish [title] to the site."
- "[title] is live at [url]."
