Skip to content

chore/upgrade greenwood v0.29.0 (#125) #31

chore/upgrade greenwood v0.29.0 (#125)

chore/upgrade greenwood v0.29.0 (#125) #31

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-20.04
env:
GH_PAGES: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 18.12.1
- name: Install Dependencies
run: |
yarn install --frozen-lockfile
- name: Build
run: |
yarn clean && yarn story:build
- name: Deploy GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static