Skip to content

Commit b2658a8

Browse files
authored
Merge pull request #928 from NordicSemiconductor/doc_folder_structure
doc: align folder structure
2 parents e3a9231 + fd06440 commit b2658a8

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- docs
8+
- doc/docs
99
workflow_dispatch:
1010

1111
jobs:

.github/workflows/zoomin.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ jobs:
1616
- uses: actions/checkout@v3
1717

1818
- name: Copy zoomin properties
19-
run: cp doc/docs/zoomin/* .
20-
21-
- name: Replace index.md
22-
run: cp doc/docs/zoomin/index.md doc/docs/index.md
19+
run: |
20+
cp doc/zoomin/custom.properties doc/ \
21+
&& cp doc/zoomin/tags.yml doc/
2322
2423
- name: Create zip file
2524
run: |
26-
zip -r nrf-connect-desktop.zip \
27-
docs mkdocs.yml custom.properties tags.yml \
28-
-x@docs/zoomin/ignore.txt
25+
cd doc/ \
26+
&& zip -r ../nrf-connect-desktop.zip \
27+
docs/* mkdocs.yml custom.properties tags.yml
2928
3029
- name: Upload documentation artifact
3130
uses: actions/upload-artifact@v3
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)