Merge pull request #527 from eyra/thank-you #505
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: Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
docs: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- id: setup-elixir | |
uses: erlef/setup-elixir@v1 | |
with: | |
otp-version: "25.0.4" | |
elixir-version: "1.14.0" | |
- name: Setup the Elixir project | |
run: make deps | |
- name: Generate the docs | |
run: make docs | |
- name: Publish documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./doc/ |