Skip to content

Commit

Permalink
Merge pull request #297 from linglong67/hotfix/cicd-yml-modify
Browse files Browse the repository at this point in the history
[hotfix] cicd yml modify (재반영)
  • Loading branch information
linglong67 authored Mar 14, 2024
2 parents aab1802 + 2e8b5ab commit 312e271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cicd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
dir_path="./module-api/src/main/resources/db/migration"
old_text="changeRequired"
new_text="${{ secrets.PUBLIC_KEY }}"
find "dir_path" -type f -name "*.sql" -exec sed -i "s|old_text|new_text|g" {} +
find "$dir_path" -type f -name "*.sql" -exec sed -i "s|$old_text|$new_text|g" {} +
- name: Set application yml file (api)
uses: microsoft/variable-substitution@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cicd-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
dir_path="./module-api/src/main/resources/db/migration"
old_text="changeRequired"
new_text="${{ secrets.PUBLIC_KEY }}"
find "dir_path" -type f -name "*.sql" -exec sed -i "s|old_text|new_text|g" {} +
find "$dir_path" -type f -name "*.sql" -exec sed -i "s|$old_text|$new_text|g" {} +
- name: Set application yml file (api)
uses: microsoft/variable-substitution@v1
Expand Down

0 comments on commit 312e271

Please sign in to comment.