Skip to content

Merge pull request #128 from NREL/rjf/energy-model-loads-time-model #27

Merge pull request #128 from NREL/rjf/energy-model-loads-time-model

Merge pull request #128 from NREL/rjf/energy-model-loads-time-model #27

Workflow file for this run

name: deploy-docs
on:
push:
branches:
- main
paths:
- docs/**
- .github/workflows/deploy-docs.yaml
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: "3.10"
- name: Install and build
shell: bash -el {0}
working-directory: ${{runner.workspace}}/routee-compass/docs/
run: |
conda install -c conda-forge nrel.routee.compass
pip install jupyter-book
jupyter-book build .
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html