Skip to content

Merge pull request #228 from rabbitmq/md-use-cached-leader-for-async-… #276

Merge pull request #228 from rabbitmq/md-use-cached-leader-for-async-…

Merge pull request #228 from rabbitmq/md-use-cached-leader-for-async-… #276

Workflow file for this run

name: Documentation
on:
push:
branches:
- 'main'
jobs:
Documentation:
name: Generate and publish documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: 25
rebar3-version: '3.22.1'
- name: Change doc version to "Development branch"
run: sed -E -i -e 's/^@version.*/@version Development branch/' doc/overview.edoc
- name: Generate
run: rebar3 edoc
- name: Publish
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc