Skip to content

Commit

Permalink
Build Tooling: Restore Playground GitHub Pages deploy (#22443)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored May 19, 2020
1 parent 02fe765 commit 8ef2a99
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/storybook-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Storybook GitHub Pages

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master

- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'

- name: Install Dependencies
run: npm ci

- name: Build Storybook
run: npm run storybook:build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./playground/dist

0 comments on commit 8ef2a99

Please sign in to comment.