Files
bracket/.github/workflows/docs.yml
dependabot[bot] b2d82207d4 Bump JamesIves/github-pages-deploy-action from 4.2.5 to 4.4.1 (#182)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 08:38:09 +02:00

37 lines
677 B
YAML

name: docs
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup yarn
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
cache-dependency-path: frontend/yarn.lock
- name: Install npm modules
run: yarn
working-directory: docs
- name: Build docs
run: yarn build
working-directory: docs
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: docs/build