editing according to the review #329
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: CI | |
on: [push, pull_request] | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools | |
pip install -r requirements.txt | |
pip install ltd-conveyor | |
- name: Build documentation | |
run: package-docs -d doc build | |
- name: Upload to LSST the Docs | |
if: ${{ github.event_name == 'push' }} | |
env: | |
LTD_USERNAME: ${{ secrets.LTD_USERNAME }} | |
LTD_PASSWORD: ${{ secrets.LTD_PASSWORD }} | |
run: ltd upload --product tssw-developer --gh --dir doc/_build/html |