Skip to content

Merge pull request #331 from eeholmes/patch-1 #711

Merge pull request #331 from eeholmes/patch-1

Merge pull request #331 from eeholmes/patch-1 #711

Workflow file for this run

name: Build and Deploy docs
on: [push, pull_request]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Install Conda environment from environment.yml
uses: mamba-org/provision-with-micromamba@v11
- name: Build documentation
shell: bash -l {0}
run: |
make html
- name: Deploy
uses: JamesIves/[email protected]
if: github.ref == 'refs/heads/source' && github.repository == 'oceanhackweek/oceanhackweek.github.io'
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: _build/html
CLEAN: false