Skip to content

Merge pull request #280 from jgunstone/272-build-gh-pages #1

Merge pull request #280 from jgunstone/272-build-gh-pages

Merge pull request #280 from jgunstone/272-build-gh-pages #1

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