add swipe event on utils #13
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
# Workflow name | |
name: Build and Publish Storybook to GitHub Pages | |
on: | |
push: | |
branches: | |
- "main" # Replace with the branch you want to deploy from | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
# List of jobs | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.build-publish.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
# Manual Checkout | |
- uses: actions/checkout@v3 | |
# Set up Node | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- id: build-publish | |
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.2 | |
with: | |
path: storybook-static # change to your build folder | |
install_command: npm install | |
build_command: npm run build-storybook | |
checkout: false # default: true |