Skip to content

Commit 9673fe2

Browse files
committed
Prevent pdf rendering on deployment, avoid errors related to missing fonts on the build server
1 parent 830c1b6 commit 9673fe2

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/quarto-pages.yml renamed to .github/workflows/deploy.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# https://jupyterbook.org/en/stable/publish/gh-pages.html
33

4-
name: quarto-pages
4+
name: deploy
55

66
on:
77
push:
@@ -68,17 +68,15 @@ jobs:
6868
# RENDER WEBSITE CONTENTS TO DOCS/_BUILD
6969
- name: Build the book
7070
run: |
71-
quarto render docs/
72-
#continue-on-error: true # for diagnosing build issue related to image file
71+
quarto render docs/ --to html
7372
7473
#
7574
# GITHUB PAGES STUFF
7675
#
7776

7877
# UPLOAD CONTENTS OF DOCS/_BUILD
79-
# bump version. see: https://github.com/orgs/community/discussions/152695
8078
- name: Upload artifact
81-
uses: actions/upload-pages-artifact@v3
79+
uses: actions/upload-pages-artifact@v4
8280
with:
8381
path: "docs/_build"
8482

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
.jupyter_cache
55

6-
# HTML files:
6+
# rendered files:
77
docs/.quarto
88
docs/_build
99

1010
# half-way built files:
1111
**/**/*_files/
1212
**/**/*.html
13+
site_libs
1314

1415
# pdf generation artifacts:
1516
index.aux

0 commit comments

Comments
 (0)