https://github.com/probot/example-nitro
Use Probot with Nitro to deploy it anywhere
https://github.com/probot/example-nitro
Last synced: 10 months ago
JSON representation
Use Probot with Nitro to deploy it anywhere
- Host: GitHub
- URL: https://github.com/probot/example-nitro
- Owner: probot
- Created: 2024-02-02T08:41:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-02T09:14:48.000Z (about 1 year ago)
- Last Synced: 2025-05-02T10:24:37.123Z (about 1 year ago)
- Language: CSS
- Homepage:
- Size: 433 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Probot example for Nitro
Look at the [Nitro documentation](https://nitro.unjs.io/) to learn more.
## Setup
Make sure to install the dependencies:
```bash
# npm
npm install
# yarn
yarn install
# pnpm
pnpm install
```
## Required Environment Variables
Similar to Probot's default behavior, you need to set the following environment variables:
- `APP_ID` - The ID of the GitHub App
- `WEBHOOK_SECRET` - The secret used to secure the webhook
- `PRIVATE_KEY` - The private key of the GitHub App
## Development Server
Start the development server on
```bash
npm run dev
```
## Production
Build the application for production:
```bash
npm run build
```
Locally preview production build:
```bash
npm run preview
```
Check out the [deployment documentation](https://nitro.unjs.io/deploy) for more information.