Skip to content

Modernize packaging (#79) #16

Modernize packaging (#79)

Modernize packaging (#79) #16

Workflow file for this run

name: docs deployment
on:
push:
branches:
- master
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
docs:
if: github.repository == 'MDAnalysis/MDAnalysisData'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install deps
run: |
python -m pip install "mdanalysis-sphinx-theme>=1.0.1" sphinx-sitemap
- name: Install main dependencies
run: |
python -m pip install tqdm
- name: install package
run: |
pip install -v .
- name: build docs
run: |
cd docs
make html
- name: deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
user_name: 'github-actions'
user_email: 'github-action@users.noreply.github.com'