add decent name to action config #2
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: Build docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
TX_TOKEN: ${{ secrets.TX_TOKEN }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Checkout Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Python requirements | |
run: | | |
make install-docs | |
make dev | |
- name: Build Docs | |
run: make doc-html | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: docs | |
path: docs/site | |
if-no-files-found: error | |
- name: Deploy to GitHub Pages | |
run: mkdocs gh-deploy --force |