Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Build storybook for each push
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanl21 committed Jul 14, 2023
1 parent e20129c commit 34f5944
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
name: Deploy to Storybook to Chromatic

on:
push:
tags:
- 'v*'
on: [push]


jobs:
chromatic-deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up pnpm
uses: pnpm/action-setup@v2
with:
version: '^8.6.5'
version: "^8.6.5"
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
cache: "pnpm"
- name: Install dependencies
run: pnpm i
- name: Publish to Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ _No ROMs are provided with wasmGBA. Users must supply their own backups of their

## Usage

A demo tracking the latest tagged commit is hosted via [GitHub Pages](https://ethanl21.github.io/wasmGBA/).
A demo tracking the `main` branch is hosted via [GitHub Pages](https://ethanl21.github.io/wasmGBA/).

### Building

Expand Down

0 comments on commit 34f5944

Please sign in to comment.