Skip to content

Commit

Permalink
Increase code execution timeout from 90 to 270 (#27)
Browse files Browse the repository at this point in the history
* Increase code execution timeout from 90 to 270

Sometimes `grdview` just takes too long.

* Allow running deploy-book workflow on demand

In case a re-build needs to be triggered manually due to random errors.
  • Loading branch information
weiji14 authored Dec 4, 2024
1 parent de3be24 commit a4c0fa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ name: deploy-book
on:
# Uncomment the 'pull_request' line below to manually re-build Jupyter Book
# pull_request:
workflow_dispatch:
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion book/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ logo: logo.webp
# See https://jupyterbook.org/content/execute.html
execute:
execute_notebooks: cache
timeout: 90 # https://jupyterbook.org/en/stable/content/execute.html#setting-execution-timeout
timeout: 270 # https://jupyterbook.org/en/stable/content/execute.html#setting-execution-timeout

# Define the name of the latex output file for PDF builds
latex:
Expand Down

0 comments on commit a4c0fa4

Please sign in to comment.