Process workflows for blog and social #197
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a GitHub workflow defining a set of jobs with a set of steps. | |
# ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | |
# | |
name: Test docs | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
- "pre-commit-ci-update-config" | |
workflow_dispatch: | |
jobs: | |
test-docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install deps | |
run: | | |
pip install -r requirements.txt | |
# linkcheck is done separately from this in doc-links.yml, scheduled to | |
# run every day and open/update an issue | |
- name: make dirhtml | |
env: | |
GRAFANA_TOKEN: ${{ secrets.GRAFANA_TOKEN }} | |
run: | | |
make dirhtml SPHINXOPTS='--color -W --keep-going' | |
- name: Upload Logs and Build | |
uses: actions/upload-artifact@v3 | |
with: | |
name: sphinx-logs | |
path: book/_build |