Skip to content

Commit 4da59cc

Browse files
GHA: publish documentation on relase
push documentation when creating release Signed-off-by: Robert Gałat <[email protected]>
1 parent 735afa5 commit 4da59cc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/on-push-tag.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
uses: ./.github/workflows/samples_build.yml
1111

1212
build_documentation:
13+
needs: [build_samples]
1314
uses: ./.github/workflows/publish_documentation.yml
1415
with:
15-
documentation_tag: "latest"
16-
publish_to_prod: false
17-
publish_to_dev: false
16+
documentation_tag: ${{ github.event_name }}
17+
publish_to_prod: true
18+
publish_to_dev: true
1819

1920
publish_release:
2021
needs: [build_documentation, build_samples]

.github/workflows/samples_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
default: true
1313
boards_to_test:
1414
type: string
15-
required: true
15+
required: false
1616
default: '["nrf52840dk/nrf52840", "nrf5340dk/nrf5340/cpuapp", "nrf54l15dk/nrf54l15/cpuapp", "nrf54l15dk/nrf54l15/cpuapp/ns", "nrf54l15dk/nrf54l10/cpuapp"]'
1717

1818

0 commit comments

Comments
 (0)