From a205ea2755ade65454479f6fd2d63fcfd0585711 Mon Sep 17 00:00:00 2001 From: tony-josi-aws Date: Thu, 23 May 2024 16:09:33 +0530 Subject: [PATCH] Doxygen gen: Remove symlink and replace with folder --- doxygen-generation/action.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doxygen-generation/action.yml b/doxygen-generation/action.yml index c415db7..880fa5b 100644 --- a/doxygen-generation/action.yml +++ b/doxygen-generation/action.yml @@ -107,8 +107,9 @@ runs: run: | jq '.releases|=if index("${{ inputs.ref }}") then . else ["${{ inputs.ref }}"]+. end' _data/doc_config.json > tmp.json mv tmp.json _data/doc_config.json - rm -f latest - ln -s "${{ inputs.ref }}" latest + rm -rf latest + mkdir latest + cp -r "${{ inputs.ref }}"/* latest - name: Commit new doxygen working-directory: ./doxygen_store @@ -123,4 +124,4 @@ runs: if [ -n "$changed" ]; then git commit -m "Doxygen for ${commit_id}" git push origin gh-pages - fi + fi \ No newline at end of file