adding R nc to DwC notebook #453
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: Build and Deploy docs | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Conda | |
uses: s-weigand/setup-conda@v1 | |
with: | |
activate-conda: false | |
conda-channels: conda-forge | |
- name: Build environment | |
shell: bash -l {0} | |
run: | | |
conda create --name IOOS --file .binder/conda-linux-64.lock | |
source activate IOOS | |
- name: Build documentation | |
shell: bash -l {0} | |
run: | | |
set -e | |
source activate IOOS | |
jupyter-book build jupyterbook | |
- name: GitHub Pages action | |
if: github.ref == 'refs/heads/master' | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: jupyterbook/_build/html |