Skip to content

Commit a0f76ae

Browse files
committed
build the docs
1 parent fdb1480 commit a0f76ae

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

.github/workflows/openfe-doc-build.yaml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,23 @@ jobs:
1818
uses: actions/checkout@v4
1919
with:
2020
path: openfe/docs/ExampleNotebooks
21+
22+
- name: Get current date
23+
id: date
24+
run: echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"
2125

22-
- name: Test file layout
26+
- name: Install doc environment
27+
uses: mamba-org/setup-micromamba@v2
28+
with:
29+
environment-file: openfe/docs/environment.yaml
30+
cache-environment: true
31+
cache-downloads: true
32+
cache-environment-key: environment-${{ steps.date.outputs.date }}
33+
cache-downloads-key: downloads-${{ steps.date.outputs.date }}
34+
init-shell: bash
35+
36+
- name: Build the docs
2337
run: |
24-
pwd
25-
ls -l
26-
ls -l *
27-
ls -l openfe/docs
38+
cd openfe/docs
39+
make
40+

0 commit comments

Comments
 (0)