Skip to content

Merge pull request #49 from 46ki75/feature/cube #258

Merge pull request #49 from 46ki75/feature/cube

Merge pull request #49 from 46ki75/feature/cube #258

Workflow file for this run

name: Static Build
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 20.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm i
- name: Run Build
run: npm run build-storybook
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './storybook-static'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4