name: Build and Deploy storybook on: [push] permissions: contents: write jobs: build-and-deploy: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ uses: actions/checkout@v3 - name: Install and Build 🔧 run: | npm install npm run build-storybook - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4 with: folder: storybook-static