Skip to content

Updates the micromamba action #285

Updates the micromamba action

Updates the micromamba action #285

name: Check Sphinx Build
on:
pull_request:
branches: [master, source]
jobs:
jekyll_build:
name: Jekyll build of web pages
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Install Conda environment from environment.yml
uses: mamba-org/setup-micromamba@v2.0.0
with:
environment-file: environment.yml
cache-environment: true
- name: Build documentation
shell: bash -l {0}
run: |
make html
# workaround https://github.com/actions/upload-artifact/issues/38
- name: tarball
run: tar czf site.tar.gz ./_build/html/
# https://github.com/actions/upload-artifact
- name: Upload Website artifact
uses: actions/upload-artifact@v4
with:
name: Website
path: site.tar.gz