generated from NCAR/NCAR_mkdocs_template
-
Notifications
You must be signed in to change notification settings - Fork 6
47 lines (38 loc) · 940 Bytes
/
pr_preview.yml
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
39
40
41
42
43
44
45
46
47
name: MkDocs Build Smoke Test
on: [pull_request]
permissions:
contents: write
jobs:
mkdocs-build:
name: Install MkDocs Conda Env & Build
runs-on: ubuntu-latest
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: mkdocs
environment-file: conda.yaml
python-version: 3.9
auto-activate-base: false
- name: Interrogate Environment
run: |
env | sort | uniq
conda list
which mkdocs
mkdocs --version
- name: List Source Tree
run: |
pwd
find * ! -type d
- name: MkDocs build
run: |
mkdocs build --strict
- name: MkDocs output
run: |
find site ! -type d