File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
.github/actions/doc-generate Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments