Skip to content

v0.1.88

v0.1.88 #45

Workflow file for this run

name: Build and Deploy Storybook
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install dependencies
run: yarn install
- name: Build package
run: yarn run build
- name: Build Histoire
run: yarn run story:build
- name: Create CNAME file
run: echo 'ui.frappe.io' > ./.histoire/dist/CNAME
- name: Deploy Histoire to
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.FRAPPE_UI_PAGES_TOKEN }}
publish_dir: ./.histoire/dist
publish_branch: gh-pages