Merge pull request #1715 from gustavomm19/open-locally #1228
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Creating Storybook | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
storybook: | |
name: Starting deployment | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [18.x] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install and Build 🔧 | |
run: | | |
npm install -g bun | |
npm install | |
npm run build-storybook | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: storybook-static # The folder the action should deploy. |