Skip to content

Commit 35e4017

Browse files
refactor(ci): ensure to not publish on PR builds
Signed-off-by: Victor Adossi <[email protected]>
1 parent df5e747 commit 35e4017

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
with:
3838
ref: ${{ inputs.ref || 'main' }}
3939

40-
- uses: ./.github/actions/mdbook
40+
- name: build mdbook
41+
uses: ./.github/actions/mdbook
4142
with:
4243
publish-pages: true
4344

.github/workflows/mdbook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1111

12-
- uses: ./.github/actions/mdbook
12+
- name: build mdbook
13+
uses: ./.github/actions/mdbook
1314
with:
14-
publish-pages: true
15-
15+
publish-pages: false

0 commit comments

Comments
 (0)