Skip to content

Commit

Permalink
Simplify build-the-docs GitHub Actions workflow (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Jun 6, 2023
1 parent 9acbf55 commit 19d08a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,15 @@ on:
branches: [ '**' ]

jobs:
pytest:
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- '3.10'

fail-fast: false


runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} py${{ matrix.python-version }}

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: '3.10'

- name: Install Pandoc
uses: r-lib/actions/setup-pandoc@v1
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ On Windows, from the command line, run::

./make.bat

The rendered html pages will be located in `docs/build/html/index.html`.
The rendered html pages will be located in `docs/_build/index.html`.

0 comments on commit 19d08a5

Please sign in to comment.