Skip to content

Commit 376f8a4

Browse files
committed
No execution during builds on github
1 parent 1ad7d03 commit 376f8a4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/nightly-build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
build:
1010
if: ${{ github.repository_owner == 'ProjectPythia' }}
1111
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
12+
with:
13+
build_command: 'myst build --html' # no execution
1214

1315
deploy:
1416
needs: build

.github/workflows/publish-book.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
jobs:
1111
build:
1212
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
13+
with:
14+
build_command: 'myst build --html' # no execution
1315

1416
deploy:
1517
needs: build

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ jobs:
88
with:
99
artifact_name: book-zip-${{ github.event.number }}
1010
base_url: '/${{ github.event.repository.name }}/_preview/${{ github.event.number }}'
11+
build_command: 'myst build --html' # no execution
1112
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml

0 commit comments

Comments
 (0)