mirror of
https://github.com/nlohmann/json.git
synced 2026-02-21 10:56:26 +00:00
Publish documentation on push to develop branch (#3660)
👷 add job to publish the documentation
This commit is contained in:
27
.github/workflows/publish_documentation.yml
vendored
Normal file
27
.github/workflows/publish_documentation.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Publish documentation
|
||||
|
||||
# publish the documentation on every merge to develop branch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
|
||||
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications
|
||||
concurrency:
|
||||
group: documentation
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
publish_documentation:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install and update PlantUML
|
||||
run: sudo apt-get install -y plantuml
|
||||
|
||||
- name: Install virtual environment
|
||||
run: make install_venv -C docs/mkdocs
|
||||
|
||||
- name: Publish documentation
|
||||
run: make publish -C docs/mkdocs
|
||||
Reference in New Issue
Block a user