Skip to content

Commit

Permalink
Updated file renaming logic
Browse files Browse the repository at this point in the history
  • Loading branch information
villyes-ledger committed Nov 3, 2024
1 parent 930a37d commit 968c97c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish_jfrog_login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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' {} +
#configFile: .markdown-confluence.json

0 comments on commit 968c97c

Please sign in to comment.