Skip to content

Commit

Permalink
fix: release
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuel Suriano committed Oct 17, 2022
1 parent 60f637d commit d716f99
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 24 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<div align="center">
<a href="https://emasuriano.github.io/react-hotkey-tooltip/">
<a href="https://react-hotkey-tooltip-storybook.netlify.app" alt="logo">
<img alt="react-hotkey-tooltip logo" src="https://raw.githubusercontent.com/EmaSuriano/react-hotkey-tooltip/master/docs/logo.png" height="150px" />
</a>
</div>
Expand All @@ -14,7 +15,7 @@
<strong>A global Hotkey provider with built in tooltip for React</strong>
</div>

## [Docs 📚](https://emasuriano.github.io/react-hotkey-tooltip)
## [Docs 📚](https://react-hotkey-tooltip-storybook.netlify.app)

## Why you should use it?

Expand Down Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build-storybook": "build-storybook",
"test": "jest",
"lint": "eslint ./src --ext tsx,ts",
"prerelease": "yarn build",
"release": "npx semantic-release"
},
"dependencies": {
Expand Down Expand Up @@ -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": [
Expand Down

0 comments on commit d716f99

Please sign in to comment.