Skip to content

brinkcommerce/sanity-plugin-dashboard-widget-amplifydeploybutton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

AWS amplify deploy button plugin to sanity.io dashboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •