sanity-plugin-dashboard-widget-amplifydeploybutton
v1.0.0
Published
AWS amplify deploy button dashboard widget for Sanity Content Studio
Downloads
53
Maintainers
Readme
sanity-plugin-dashboard-widget-amplifydeploybutton
AWS amplify deploy button plugin for sanity.io dashboard
Installing
Install sanity dashboard (if not already installed)
sanity install @sanity/dashboard
Install the plugin
sanity install dashboard-widget-amplifydeploybutton
Update your dashboardConfig.js.
Get the full webHookUrl from amplify ex. "https://webhooks.amplify.eu-west-1.amazonaws.com/prod/webhooks?id=XXX&token=XXX&operation=startbuild".
export default {
widgets: [
{
name: "AmplifyDeployButton",
options: {
webhookUrls: [
"<WebhookUrl1>",
"<WebhookUrl2>",
],
title: "Deploy content changes",
buttonText: "Deploy",
},
},
]
}