Skip to content

Commit ac5c6d4

Browse files
committed
Set one hour max run time on binder
1 parent cb05692 commit ac5c6d4

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/nightly-build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: nightly-build
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '0 0 * * *' # Daily “At 00:00
6+
- cron: '0 0 * * 0' # Weekly Sunday at 00:00
77

88
jobs:
99
build:
1010
if: ${{ github.repository_owner == 'ProjectPythia' }}
1111
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
1212
with:
1313
environment_name: cookbook-dev
14+
binder_nb_timeout: 3600 # one hour run time
1415

1516
link-check:
1617
if: ${{ github.repository_owner == 'ProjectPythia' }}

.github/workflows/publish-book.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
1212
with:
1313
environment_name: cookbook-dev
14+
binder_nb_timeout: 3600 # one hour run time
1415

1516
deploy:
1617
needs: build

.github/workflows/trigger-book-build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ jobs:
88
with:
99
environment_name: cookbook-dev
1010
artifact_name: book-zip-${{ github.event.number }}
11+
binder_nb_timeout: 3600 # one hour run time

0 commit comments

Comments
 (0)