Skip to content

Update documentation #2

Update documentation

Update documentation #2

Workflow file for this run

name: Update documentation
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Install dependencies
run: yarn
- name: Build documentation
run: |
yarn build
- name: Publish on gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn storybook:build
yarn storybook:deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}