👷 add job to publish the documentation
This commit is contained in:
parent
77b4f6157e
commit
d249eab793
13
.github/workflows/publish_documentation.yml
vendored
13
.github/workflows/publish_documentation.yml
vendored
@ -4,7 +4,8 @@ name: Publish documentation
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
#- develop
|
||||||
|
- documentation_update
|
||||||
|
|
||||||
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications
|
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications
|
||||||
concurrency:
|
concurrency:
|
||||||
@ -13,18 +14,12 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish_documentation:
|
publish_documentation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# We need a recent PlantUML version to generate UML diagrams. The version from Ubuntu is outdated, so we
|
|
||||||
# need to replace the JAR file with a release from PlantUML's GitHub page.
|
|
||||||
- name: Install and update PlantUML
|
- name: Install and update PlantUML
|
||||||
run: |
|
run: sudo apt-get install -y plantuml
|
||||||
sudo apt-get install -y plantuml
|
|
||||||
wget https://github.com/plantuml/plantuml/releases/download/v1.2022.6/plantuml-1.2022.6.jar
|
|
||||||
sudo mv plantuml-1.2022.6.jar /usr/share/plantuml/plantuml.jar
|
|
||||||
plantuml -version
|
|
||||||
|
|
||||||
- name: Install virtual environment
|
- name: Install virtual environment
|
||||||
run: make install_venv -C docs/mkdocs
|
run: make install_venv -C docs/mkdocs
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user