Skip to content

Update documentation #59

Update documentation

Update documentation #59

Workflow file for this run

name: Update documentation
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js environment
uses: ./.github/actions/node_env_setup
with:
node-version: '22'
- name: Git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Build documentation
run: pnpm storybook:build
- name: Publish on gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpm storybook:deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}