Merge pull request #555 from victordrose/feature/azure-ci-pipeline #197
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: Build docs | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- documentation/src/** | |
branches: | |
- '**' | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install asciidoctor-reducer | |
run: sudo gem install asciidoctor-reducer --pre | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Reduce asciidocs | |
run: ./.github/workflows/scripts/reduce_asciidoctor.sh | |
- name: Commit new docs | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'Automatic generation of documentation' |