sanity-plugin-dashboard-widget-amplifydeploybutton

1.0.0 • Public • Published

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",
    },
  },
  ]
}

/sanity-plugin-dashboard-widget-amplifydeploybutton/

    Package Sidebar

    Install

    npm i sanity-plugin-dashboard-widget-amplifydeploybutton

    Weekly Downloads

    17

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.64 kB

    Total Files

    7

    Last publish

    Collaborators

    • patant