-
Notifications
You must be signed in to change notification settings - Fork 49
38 lines (32 loc) · 955 Bytes
/
check_sphinx_build.yml
File metadata and controls
38 lines (32 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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