Merge pull request #324 from duartegroup/v1.4.2 #24
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: 3.9 | |
channels: conda-forge,defaults | |
auto-update-conda: true | |
- name: Install | |
run: | | |
conda activate test | |
conda install --file requirements.txt | |
conda install --file doc/requirements.txt | |
python -m pip install . --no-deps | |
- name: Build docs | |
run: | | |
cd doc | |
make html | |
touch _build/html/.nojekyll | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: doc/_build/html |