https://github.com/f-mahler/kirby-vercel
DEPRECATED Trigger deploy hooks of a static site with Vercel directly from the Kirby panel. (Deprecated)
https://github.com/f-mahler/kirby-vercel
deployment deprecated kirby plugin static vercel
Last synced: 9 months ago
JSON representation
DEPRECATED Trigger deploy hooks of a static site with Vercel directly from the Kirby panel. (Deprecated)
- Host: GitHub
- URL: https://github.com/f-mahler/kirby-vercel
- Owner: f-mahler
- License: mit
- Created: 2020-05-12T14:59:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-04T10:25:43.000Z (over 2 years ago)
- Last Synced: 2025-07-01T03:06:08.061Z (12 months ago)
- Topics: deployment, deprecated, kirby, plugin, static, vercel
- Language: Vue
- Homepage:
- Size: 541 KB
- Stars: 45
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DEPRECATED
This is no longer supported. Unfortunately don't have the time to work on this plugin.
# Kirby Vercel
This is a plugin to trigger [deploy hooks](https://vercel.com/docs/v2/more/deploy-hooks) of a static site with Vercel directly from the Kirby panel.
For it to work, Kirby needs to be set up as a headless CMS on its own server, for example with [KQL](https://github.com/getkirby/kql) or [better-rest](https://github.com/robinscholz/better-rest) to fetch content on your static site generator (e.g. Nuxt, Next, or whichever you prefer) that is then deployed to Vercel via its own repository.
_It does **not** generate a static site of Kirby that is deployed to Vercel directly_

## Installation
### Download
Download and copy this repository to `/site/plugins/kirby-vercel`
### Composer
```
composer require f-mahler/kirby-vercel
```
## Setup
/site/config/config.php
```php
return [
// Required to make the button work. You can generate a Deployment Hook in Project Settings -> Git Integration in Vercel's Dashboard
'f-mahler.kirby-vercel.deployurl' => '',
// To show the last deployment in the field, you need to add these settings
'f-mahler.kirby-vercel.token' => '',
'f-mahler.kirby-vercel.projectid' => '',
// Automatically deploy when triggering one of the following hooks. See Kirby documentation for possible options
'f-mahler.kirby-vercel.hooks' => [
'site.update:after',
'page.update:after'
]
];
```
In your blueprint (e.g. /site/blueprints/site.yml)
```
vercel:
label: Vercel
type: vercel
```
You can optionally add the following:
```
button: true // set to "false" to hide button, e.g. when using automatic hooks
// to change the wording of the button you can use these options
deploy: "Publish website"
loading: "Loading.."
complete: "Finished"
error: "Error"
help: "Click to publish changes to the website"
width: 1/3
```
## Alternatives
For Netlify or any other deploy triggers check out: [Kirby-Webhooks](https://github.com/pju-/kirby-webhooks)
## License
MIT
## Credits
- [Frederik Mahler-Andersen](https://github.com/f-mahler)