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 60737f7 commit 4db32b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish_jfrog_login.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
node-version: 20

- name: Rename all .md files
run: find . -depth -name "*.md" -exec sh -c 'f="{}"; mv -- "$f" "${f%.md}_jfrog_login.md"' \;
run: find . -depth -name "*.md" -exec sh -c 'f="{}"; mv -- "$f" "$(dirname "$f")/jfrog_login_$(basename "$f")"' \;
#run: find . -depth -name "*.md" -exec sh -c 'f="{}"; mv -- "$f" "${f%.md}_jfrog_login.md"' \;

- name: Publish Markdown to Confluence
uses: markdown-confluence/publish-action@v5
Expand All @@ -24,9 +25,6 @@ jobs:
contentRoot: actions/jfrog-login/
#configFile: .markdown-confluence.json

- name: Install sed
run: sudo apt-get install sed

- name: Replace string in files TEST
run: sed -i 's/secure/test/g' README_jfrog_login.md

Expand Down

0 comments on commit 4db32b2

Please sign in to comment.