Skip to content

Shift plotting updates updates 2024 (#153) #198

Shift plotting updates updates 2024 (#153)

Shift plotting updates updates 2024 (#153) #198

Workflow file for this run

# Build documentation and upload to gh-pages
name: Build and upload documentation
defaults:
run:
shell: bash
on: # Runs on any push event to master
push:
branches:
- master
jobs:
documentation:
name: ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.12]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: '**/requirements.txt'
- name: Upgrade pip, setuptools and wheel
run: python -m pip install --upgrade pip setuptools wheel
- name: Install dependencies
run: python -m pip install -r requirements.txt
- name: Build documentation
run: python -m mkdocs build -d ./doc_build
- name: Upload documentation to gh-pages
if: success()
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: doc_build