@code-mancers/strapi-plugin-multi-site-vercel-deploy
Version:
Strapi v4 plugin to trigger and monitor deployment of multiple applications on Vercel
37 lines (35 loc) • 600 B
JavaScript
const pluginId = require("../helpers/pluginId");
module.exports = [
{
method: "GET",
path: "/deploy/run",
handler: "deploy.runDeploy",
config: {
policies: [],
},
},
{
method: "GET",
path: "/config",
handler: "config.getConfig",
config: {
policies: [],
},
},
{
method: "GET",
path: "/deploy/list",
handler: "deploy.getDeployments",
config: {
policies: [],
},
},
{
method: "GET",
path: "/deploy/availability",
handler: "deploy.deployAvailability",
config: {
policies: [],
},
},
];