Improved touch navigation #25
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
name: 'API Docs' | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request_target: | |
types: [ opened, synchronize ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Build: | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository | |
runs-on: 'ubuntu-latest' | |
#runs-on: 'ubuntu-22.04' | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 'Checkout Repository (m.css)' | |
uses: actions/checkout@v4 | |
with: | |
repository: 'deathkiller/m.css' | |
ref: 'death-main' | |
ssh-key: ${{ secrets.DOCS_DEPLOY_PRIVATE_KEY }} | |
path: 'm.css' | |
- name: 'Create Build Environment' | |
run: | | |
sudo apt update -y | |
sudo apt install doxygen texlive-base texlive-latex-extra texlive-fonts-extra texlive-fonts-recommended | |
pip3 install jinja2 Pygments | |
- name: 'Build' | |
run: | | |
mkdir -p ./build/docs/ | |
./m.css/documentation/doxygen.py ./Docs/conf.py | |
- name: 'Upload Package' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Jazz2_ApiDocs | |
path: ./build/docs/html/ |