Skip to content

Fix GitHub Action (#12) #2

Fix GitHub Action (#12)

Fix GitHub Action (#12) #2

Workflow file for this run

name: Build and Deploy Docs
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Doxygen
run: sudo sh -c 'echo deb http://cz.archive.ubuntu.com/ubuntu focal main universe >> /etc/apt/sources.list' && sudo apt-get update && sudo apt-get install -y -t focal doxygen
- name: Checkout
uses: actions/[email protected]
- name: Checkout Doxygen Awesome
uses: Mushus/[email protected]
with:
submodulePath: ./docs/doxygen-awesome-css
- name: Generate Documentation
run: ./build-docs.sh
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: ./docs-output/html # The folder the action should deploy.