diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index dbeae96a..ae30a5fc 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -37,23 +37,3 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: yarn release - - deploy: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version-file: '.nvmrc' - - - run: yarn install --frozen-lockfile - - - run: yarn build-storybook - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./storybook-static diff --git a/README.md b/README.md index 5361f812..b2b0e499 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,10 @@ [![Master](https://github.com/EmaSuriano/react-hotkey-tooltip/actions/workflows/master.yml/badge.svg)](https://github.com/EmaSuriano/react-hotkey-tooltip/actions/workflows/master.yml) [![npm version](https://badge.fury.io/js/react-hotkey-tooltip.svg)](https://badge.fury.io/js/react-hotkey-tooltip) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) +[![Netlify Status](https://api.netlify.com/api/v1/badges/d8820ba2-2f51-4aa9-be7a-b11e6b7b65ae/deploy-status)](https://app.netlify.com/sites/react-hotkey-tooltip-storybook/deploys)
- + react-hotkey-tooltip logo
@@ -14,7 +15,7 @@ A global Hotkey provider with built in tooltip for React -## [Docs 📚](https://emasuriano.github.io/react-hotkey-tooltip) +## [Docs 📚](https://react-hotkey-tooltip-storybook.netlify.app) ## Why you should use it? @@ -62,7 +63,7 @@ const ClickableButtonByPressingA = () => ( ); ``` -For more examples please consider checking the [Docs](https://emasuriano.github.io/react-hotkey-tooltip) section. +For more examples please consider checking the [Docs](https://react-hotkey-tooltip-storybook.netlify.app) section. ## License diff --git a/package.json b/package.json index 04138dce..fdaaa7d8 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "build-storybook": "build-storybook", "test": "jest", "lint": "eslint ./src --ext tsx,ts", + "prerelease": "yarn build", "release": "npx semantic-release" }, "dependencies": { @@ -48,7 +49,7 @@ "vite-plugin-dts": "^1.6.6" }, "author": "Ema Suriano", - "homepage": "https://emasuriano.github.io/react-hotkey-tooltip", + "homepage": "https://react-hotkey-tooltip-storybook.netlify.app", "license": "MIT", "repository": "https://github.com/EmaSuriano/react-hotkey-tooltip", "keywords": [