Skip to content

Merge pull request #164 from FlowFuse/dependabot/github_actions/peace… #121

Merge pull request #164 from FlowFuse/dependabot/github_actions/peace…

Merge pull request #164 from FlowFuse/dependabot/github_actions/peace… #121

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@v4
- name: Setup Node.js
uses: actions/setup-node@v4
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 }}