[adr] Add 0020, clean up adr-process, remove OLO-renaming from 0019 #303
This file contains hidden or 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 and Deploy Documentation | |
| # Defines when the action will run. | |
| on: | |
| push: | |
| branches: | |
| - main # Trigger the action on pushes to the main branch | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest # Specifies the runner environment | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 # Checks out your repository under $GITHUB_WORKSPACE | |
| - name: Set up Python 3.x | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' # Ensures Python 3.x is installed, adjust as needed for your project | |
| - name: Install Graphviz and PlantUML | |
| run: | | |
| sudo apt-get update && sudo apt-get install -y graphviz plantuml | |
| - name: Install Asciidoctor and Asciidoctor-Diagram | |
| run: | | |
| gem install asciidoctor asciidoctor-diagram asciidoctor-diagram-plantuml asciidoctor-pdf --user-install | |
| echo "PATH=$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH" >> $GITHUB_ENV | |
| - name: Run Make | |
| run: make -C doc ci | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./doc/dist # Adjusts the path to the build output directory |