diff --git a/.github/workflows/gh_pages.yml b/.github/workflows/gh_pages.yml index 044bec1c..df6c584c 100644 --- a/.github/workflows/gh_pages.yml +++ b/.github/workflows/gh_pages.yml @@ -16,20 +16,21 @@ on: jobs: build-and-deploy: + name: Build and deploy + strategy: + matrix: + python-version: ["3.10"] runs-on: "ubuntu-22.04" steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.10' - name: Install dependencies run: | - python -m pip install --upgrade pip + sudo apt-get update + sudo apt-get install -y make pip install sphinx sphinx-autoapi - name: Build docs - run: - cd ./api && \ + run: | + cd ./api make html - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3