Skip to content

boards: refactor using extensions and shields #54

boards: refactor using extensions and shields

boards: refactor using extensions and shields #54

Workflow file for this run

# Copyright (c) 2021, Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0
name: Documentation
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt install -y cmake ninja-build python3 python3-pip doxygen graphviz
pip3 install -r docs/requirements.txt
- name: Build
run: |
cmake -Sdocs -Bbuild_docs
cmake --build build_docs -t doxygen
cmake --build build_docs -t html
touch build_docs/html/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/main'
with:
branch: gh-pages
folder: build_docs/html
single-commit: true