ci: Install Doxygen in container and use for doc deployment #120
Workflow file for this run
This file contains 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 2020 ETH Zurich and University of Bologna. | |
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: publish-docs | |
on: | |
push: | |
branches: [doxygen-docs] | |
workflow_dispatch: | |
jobs: | |
deploy: | |
name: Deploy documentation | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/pulp-platform/snitch_cluster:doxygen-docs | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate documentation sources | |
run: | | |
make doc-srcs | |
make doxygen-docs | |
- name: Build and deploy documentation | |
run: mkdocs gh-deploy --force |