Skip to content

Use codecov v4, single upload step, and non-codecov reports (#14) #18

Use codecov v4, single upload step, and non-codecov reports (#14)

Use codecov v4, single upload step, and non-codecov reports (#14) #18

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install 'setuptools<50.0'
python -m pip install .[testing,docs]
- name: Build docs
run: |
cd docs
make html
cd ..
- name: Deploy docs 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs/_build/html