Skip to content

Merge pull request #160 from FlowFuse/ppawlowski-patch-1 #118

Merge pull request #160 from FlowFuse/ppawlowski-patch-1

Merge pull request #160 from FlowFuse/ppawlowski-patch-1 #118

Workflow file for this run

name: Build Documentation
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build_deploy:
if: ${{ github.repository == 'flowforge/forge-ui-components' }}
runs-on: ubuntu-latest
steps:
- name: Check out components repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm run build-docs
- name: Deploy
uses: peaceiris/[email protected]
with:
publish_dir: dist/docs
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}