sanity-io / sanity-plugin-dashboard-widget-netlify

Sanity Studio Dashboard Widget for triggering Netlify builds
MIT License
31 stars 14 forks source link

Remove Netlify Site API data dependency #1

Closed skogsmaskin closed 5 years ago

skogsmaskin commented 5 years ago

Since the Netlify site API returned 401s when asking for a Site deployed from a private repository, we need to rely solely on config.

The config has chaged like this:

What previously was site.name is now the actual Netlify name for the site (i.e. sanity-gatsby-blog-20-studio)

What was site.name before is not site.title (custom overridable title for the site).