This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
Updates UI shell (#244) #223
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
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
env: | |
NODE_VERSION: '16.x' | |
jobs: | |
deploy-storybook: | |
name: Deploy Storybook | |
# Prevent creating a deployment on forks | |
if: github.repository == 'Qiskit/web-components' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: 'npm' | |
- run: npm ci | |
- run: npm run storybook:build | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./storybook-static |