ENH: Add an optional input parameter for the inclusion of rain in RT … #149
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-docs | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
# This job installs dependencies, build the website, and pushes it to `gh-pages` | |
jobs: | |
deploy-website: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
# Install dependencies | |
- name: Setup Conda Environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
environment-file: continuous_integration/environment_docs.yml | |
activate-environment: testenv | |
auto-activate-base: false | |
mamba-version: '*' | |
use-mamba: true | |
miniforge-variant: Mambaforge | |
- name: Install EMC2 | |
run: | | |
pip install -e . | |
# Build the website | |
- name: Build the site | |
run: | | |
cd doc | |
make html | |
# Push the book's HTML to github-pages | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
if: github.ref == 'refs/heads/master' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: doc/build/html | |
cname: https://columncolab.github.io/EMC2/ |