Skip to content

Merge pull request #281 from jgunstone/update-to-built-website-follow… #2

Merge pull request #281 from jgunstone/update-to-built-website-follow…

Merge pull request #281 from jgunstone/update-to-built-website-follow… #2

Workflow file for this run

name: Build docs
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: GitHub Tag Name example
run: |
echo "Status: *release* $GITHUB_REF_NAME" > release.md
- name: Setup Mambaforge
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: bdns
use-mamba: true
- name: Create environment
run: mamba env update -n bdns -f environment.yml
- name: Install tinytex
shell: bash -l {0}
run: quarto install tinytex
- name: Build docs
shell: bash -l {0}
run: quarto render .
- name: Push docs to gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: _site