CICD: Add GitHub Action File for Documentation Processing.

Also add an appropriate branch condition to the actions building
docker images.

Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
Michael Keller 2024-02-10 20:57:19 +13:00 committed by Dirk Hohndel
parent 618e38151a
commit 8181048611
4 changed files with 55 additions and 10 deletions

View file

@ -2,6 +2,8 @@ name: Android Docker Image CI
on:
push:
branches:
- master
paths:
- scripts/docker/android-build-container/**
- .github/workflows/android-dockerimage.yml

33
.github/workflows/documentation.yml vendored Normal file
View file

@ -0,0 +1,33 @@
name: Documentation
on:
push:
branches:
- master
paths:
- Documentation
- .github/workflows/documentation.yml
pull_request:
branches:
- master
paths:
- Documentation
- .github/workflows/documentation.yml
jobs:
documentation:
runs-on: ubuntu-22.04
steps:
- name: Install Packages
run: |
sudo apt-get -y update
sudo apt-get -y install asciidoc docbook-xml w3m
- name: Checkout Sources
uses: actions/checkout@v4
- name: Process the Documentation
id: process_documentation
working-directory: Documentation
run: make

View file

@ -2,6 +2,8 @@ name: Windows (MXE) Docker Image
on:
push:
branches:
- master
paths:
- scripts/docker/mxe-build-container/**
- .github/workflows/windows-mxe-dockerimage.yml