Skip to content

Commit 52c55b2

Browse files
Merge pull request #269 from NordicSemiconductor/publish_docs_on_prod_release
Publish docs on prod release
2 parents bd5d16b + 70e2863 commit 52c55b2

File tree

7 files changed

+48
-107
lines changed

7 files changed

+48
-107
lines changed

.github/workflows/docs-bundle.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Docs: Create bundle'
2+
3+
on:
4+
pull_request:
5+
types: [synchronize, opened, reopened]
6+
paths:
7+
- .github/workflows/docs-bundle.yml
8+
- doc
9+
workflow_dispatch:
10+
workflow_call:
11+
12+
jobs:
13+
create-doc-bundle:
14+
uses: NordicSemiconductor/pc-nrfconnect-shared/.github/workflows/docs-bundle.yml@main
15+
with:
16+
bundle-name: nrf-connect-npm
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: 'Docs: Publish to dev'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- doc/
9+
- .github/workflows/docs-*.yml
10+
workflow_dispatch:
11+
12+
jobs:
13+
publish-docs-bundle:
14+
uses: NordicSemiconductor/pc-nrfconnect-shared/.github/workflows/docs-publish.yml@main
15+
with:
16+
bundle-name: nrf-connect-npm
17+
release-type: dev
18+
secrets: inherit
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 'Docs: Publish to prod'
2+
3+
on:
4+
workflow_dispatch:
5+
workflow_call:
6+
7+
jobs:
8+
publish-docs-bundle:
9+
uses: NordicSemiconductor/pc-nrfconnect-shared/.github/workflows/docs-publish.yml@main
10+
with:
11+
bundle-name: nrf-connect-npm
12+
release-type: prod
13+
secrets: inherit

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ jobs:
2222
with:
2323
source: ${{ inputs.source }}
2424
ref: ${{ inputs.ref }}
25+
doc_bundle_name: nrf-connect-npm
2526
secrets: inherit

.github/workflows/zoomin-publish-dev.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/zoomin-publish.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/zoomin.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)