GitHub Actions: Stop testing against Erlang/OTP 24 #59
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: 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: 26 | |
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 |