fix bug multiple trajectory upload #398
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 ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
# Handle dependencies here instead of conda_env.yaml | |
# because some packages are conda-forge only, | |
# which makes the env build much more slowly. | |
- name: Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install texlive-latex-extra dvipng | |
sudo pip3 install -U setuptools | |
sudo pip3 install -U -r docs2/requirements.txt | |
- name: Build Docs | |
run: | | |
cd docs2 | |
make html | |
- name: Disable github Jekyll | |
run: | | |
touch docs2/_build/html/.nojekyll | |
- name: Deploy | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: docs2/_build/html # The folder the action should deploy. |