Skip to content

Merge pull request #181 from matplotlib/pre-commit-ci-update-config #1409

Merge pull request #181 from matplotlib/pre-commit-ci-update-config

Merge pull request #181 from matplotlib/pre-commit-ci-update-config #1409

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
schedule:
- cron: '0 9 * * *'
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install documentation requirements
run: |
pip install -r docs/requirements.txt
- name: Make docs builds
run: |
make -C docs html O="-t release"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html