Merge pull request #61 from lsst-sqre/tickets/DM-40143 #181
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
name: Docs | |
"on": | |
push: | |
branches: | |
- main | |
- master | |
- "tickets/**" | |
paths: | |
- "docs/**" | |
- "src/**.py" | |
- "CHANGELOG.md" | |
tags: | |
- "*" | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Install graphviz and ImageMagick | |
run: sudo apt-get install graphviz imagemagick | |
- name: Run tox | |
uses: lsst-sqre/run-tox@v1 | |
with: | |
python-version: "3.12" | |
tox-envs: "docs" | |
- name: Upload documentation | |
uses: lsst-sqre/ltd-upload@v1 | |
with: | |
project: "noteburst" | |
dir: "docs/_build/html" | |
username: ${{ secrets.LTD_USERNAME }} | |
password: ${{ secrets.LTD_PASSWORD }} |