Skip to content

Merge pull request #194 from matplotlib/dependabot/github_actions/pea… #1731

Merge pull request #194 from matplotlib/dependabot/github_actions/pea…

Merge pull request #194 from matplotlib/dependabot/github_actions/pea… #1731

Workflow file for this run

name: GitHub Pages
permissions:
contents: read
on:
push:
branches:
- main
schedule:
- cron: '0 9 * * *'
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- 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@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html