Skip to content

1. download metadata from figshare #1051

1. download metadata from figshare

1. download metadata from figshare #1051

Workflow file for this run

name: Build Documentation
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Check out source-code repository
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install pip
run: python -m pip install --upgrade pip
- name: Install pertpy with docs
run: pip install .[doc]
- name: Build docs
run: |
cd docs
make html
- name: Deploy
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html