f-mahler / kirby-vercel
Kirby Vercel Plugin
Installs: 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 45
Watchers: 3
Forks: 3
Open Issues: 2
Language:Vue
Type:kirby-plugin
Requires
This package is auto-updated.
Last update: 2025-05-04 12:56:52 UTC
README
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 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 or 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
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' => '<deployUrl>', // To show the last deployment in the field, you need to add these settings 'f-mahler.kirby-vercel.token' => '<token>', 'f-mahler.kirby-vercel.projectid' => '<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
License
MIT