Skip to content

Commit bee88f7

Browse files
committed
ci: fix broken bundle upload
for some reason the bundle upload is not working. fixing it Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
1 parent 05d16f8 commit bee88f7

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/actions/doc-generate/action.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,20 @@ runs:
5757
shell: bash
5858
working-directory: ${{ inputs.edgehog }}
5959
run: |
60-
./tools/gen-docs-versions.sh > ${{ github.workspace }}/${{ inputs.docs }}/versions.js
60+
./tools/gen-docs-versions.sh > versions.js
6161
- name: Move doc to docs folder
6262
shell: bash
6363
run: |
64-
cp -r "${{ inputs.edgehog }}/backend/doc" "${{ github.workspace }}/${{ inputs.docs }}/${{ inputs.version }}"
64+
cp -r "${{ inputs.edgehog }}/backend/doc" "${{ inputs.docs }}/${{ inputs.version }}"
65+
- name: Move version to docs folder
66+
shell: bash
67+
run: |
68+
cp -r "${{ inputs.edgehog }}/versions.js" "${{ inputs.docs }}/versions.js"
6569
- name: link `versions.js`
6670
shell: bash
67-
working-directory: ${{ inputs.docs }}/${{ inputs.version }}
71+
working-directory: ${{ inputs.docs }}
6872
run: |
69-
ln -s ../versions.js docs_config.js
73+
ln -s versions.js ${{ inputs.version }}/docs_config.js
7074
- uses: actions/upload-artifact@v7
7175
with:
7276
name: edgehog-docs-bundle

0 commit comments

Comments
 (0)