mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
618e38151a
commit
8181048611
4 changed files with 55 additions and 10 deletions
2
.github/workflows/android-dockerimage.yml
vendored
2
.github/workflows/android-dockerimage.yml
vendored
|
|
@ -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
33
.github/workflows/documentation.yml
vendored
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue