Skip to content

Commit

Permalink
feat!: initial Sanity Studio v3 release
Browse files Browse the repository at this point in the history
BREAKING CHANGE: this version does not work in Sanity Studio v2
  • Loading branch information
snorrees committed Nov 17, 2022
1 parent 4281e19 commit 5f515bb
Show file tree
Hide file tree
Showing 5 changed files with 150 additions and 150 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
pull_request:
# Build on commits pushed to branches without a PR if it's in the allowlist
push:
branches: [main, v3]
branches: [main, studio-v2]
# https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
with:
cache: npm
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm i
- run: npm test --if-present

release:
Expand Down
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
> **NOTE**
>
> This is the **Sanity Studio v3 version** of sanity-plugin-dashboard-widget-netlify.
>
> For the v2 version, please refer to the [v2 version](https://github.com/sanity-io/sanity-plugin-dashboard-widget-netlify/tree/main).

# Sanity Dashboard Widget: Netlify

>This is a **Sanity Studio v3** plugin.
> For the v2 version, please refer to the [v2-branch](https://github.com/sanity-io/sanity-plugin-dashboard-widget-netlify/tree/studio-v2).
Sanity Studio Dashboard Widget for triggering Netlify builds.

## Install

```
npm install --save sanity-plugin-dashboard-widget-netlify@studio-v3
npm install --save sanity-plugin-dashboard-widget-netlify
```

or

```
yarn add sanity-plugin-dashboard-widget-netlify@studio-v3
yarn add sanity-plugin-dashboard-widget-netlify
```

Ensure that you have followed install and usage instructions for [@sanity/dashboard](https://github.com/sanity-io/dashboard).
Expand Down
Loading

0 comments on commit 5f515bb

Please sign in to comment.