Improvements to custom library + oot driver class + documentation #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2024, Nordic Semiconductor ASA | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Documentation | |
on: [push, pull_request] | |
env: | |
DOXYGEN_VERSION: 1.9.6 | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
wget --no-verbose "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz" | |
tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz | |
echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH | |
- name: Build Doxygen | |
run: | | |
cd doc | |
doxygen | |
# required if github pages are not built using Jekyll | |
touch _build_doxygen/html/.nojekyll | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
if: github.ref == 'refs/heads/main' | |
with: | |
branch: gh-pages | |
folder: doc/_build_doxygen/html | |
single-commit: true | |