fix: typo in docs configuration #13
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: Publish Documentation | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Repository Checkout | |
uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "26.0" | |
elixir-version: "1.15.7" | |
- run: mix deps.get | |
- run: mix docs | |
- name: Deploy to Netlify | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: | | |
npm install [email protected] -g | |
netlify deploy \ | |
--dir doc \ | |
--site ${{ secrets.NETLIFY_SITE_ID }} \ | |
--auth ${{ secrets.NETLIFY_API_TOKEN }} \ | |
--prod |