Skip to content

Commit 6f098be

Browse files
committed
try fix master deploy docs
1 parent 4e87a7b commit 6f098be

File tree

3 files changed

+24
-15
lines changed

3 files changed

+24
-15
lines changed

.github/actions/build-docs/action.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,8 @@ description: "Builds DASCore's Documentation."
44
runs:
55
using: "composite"
66
steps:
7-
- name: Install quarto
8-
uses: quarto-dev/quarto-actions/setup@v2
9-
with:
10-
version: 1.3.450
11-
tinytex: true
127

13-
- name: print quarto version
14-
shell: bash -l {0}
15-
run: |
16-
quarto --version
17-
18-
- name: render API docs
19-
shell: bash -l {0}
20-
run: |
21-
python scripts/build_api_docs.py
8+
- uses: ./.github/actions/prep_doc_build
229

2310
- name: build quarto project
2411
shell: bash -l {0}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "prepare for doc build"
2+
description: "Installs quarto, renders api docs, prints quarto version"
3+
4+
runs:
5+
using: "composite"
6+
steps:
7+
- name: Install quarto
8+
uses: quarto-dev/quarto-actions/setup@v2
9+
with:
10+
version: 1.3.450
11+
tinytex: true
12+
13+
- name: print quarto version
14+
shell: bash -l {0}
15+
run: |
16+
quarto --version
17+
18+
- name: render API docs
19+
shell: bash -l {0}
20+
run: |
21+
python scripts/build_api_docs.py

.github/workflows/build_deploy_master_docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ jobs:
3737
fetch-tags: "true"
3838
fetch-depth: '0'
3939

40-
4140
- uses: ./.github/actions/mamba-install-dascore
4241
with:
4342
python-version: "3.12"
4443
environment-file: './.github/doc_environment.yml'
4544

45+
- uses: ./.github/actions/prep_doc_build
46+
4647
- name: publish docs to netlify
4748
shell: bash -l {0}
4849
env:

0 commit comments

Comments
 (0)