From 968c97c4af0fc41069c4ad581d02124dd3085258 Mon Sep 17 00:00:00 2001 From: vanda-illyes Date: Sun, 3 Nov 2024 20:16:51 +0100 Subject: [PATCH] Updated file renaming logic --- .github/workflows/publish_jfrog_login.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_jfrog_login.yaml b/.github/workflows/publish_jfrog_login.yaml index 33b0934..85a99a8 100644 --- a/.github/workflows/publish_jfrog_login.yaml +++ b/.github/workflows/publish_jfrog_login.yaml @@ -13,6 +13,9 @@ jobs: - name: Rename all .md files run: find . -depth -name "*.md" -exec sh -c 'f="{}"; mv -- "$f" "$(dirname "$f")/jfrog_login_$(basename "$f")"' \; + - name: Replace comments with a space + run: find . -type f -name "*.md" -exec sed -i 's// /g' {} + + - name: Publish Markdown to Confluence uses: markdown-confluence/publish-action@v5 with: @@ -22,7 +25,4 @@ jobs: atlassianApiToken: ${{ secrets.ATLASSIAN_API_TOKEN }} folderToPublish: . contentRoot: actions/jfrog-login/ - #configFile: .markdown-confluence.json - - - name: Replace comments with a space - run: find . -type f -name "*.md" -exec sed -i 's// /g' {} + \ No newline at end of file + #configFile: .markdown-confluence.json \ No newline at end of file