Skip to content

Merge pull request #17 from jtiala/publish-each-components-css #57

Merge pull request #17 from jtiala/publish-each-components-css

Merge pull request #17 from jtiala/publish-each-components-css #57

Workflow file for this run

name: Publish Storybook
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- uses: actions/configure-pages@v3
- uses: pnpm/[email protected]
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install
- run: pnpm run build
- uses: actions/upload-pages-artifact@v1
with:
path: "apps/docs/storybook-static"
- id: deployment
uses: actions/deploy-pages@v2