Skip to content

Commit

Permalink
[BE] refactor: yaml 문법 오류 fix (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: EunJiJung <[email protected]>
  • Loading branch information
bianbbc87 committed Feb 9, 2025
1 parent b9a3355 commit 9b0848d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/actions/ecr-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ runs:
shell: bash
run: |
if [[ "${{ inputs.container_name }}" == "config-server" ]]; then
cat <<EOF > ${{ inputs.folder }}/src/main/resources/bootstrap.yml
cat <<'EOF' > ${{ inputs.folder }}/src/main/resources/bootstrap.yml
encrypt:
key: ${{ inputs.config_private_ip }}
EOF

rm -f ${{ inputs.folder }}/src/main/resources/application.yml
echo "${{ inputs.config_application_yml }}" | base64 --decode > ${{ inputs.folder }}/src/main/resources/application.yml

else
cat <<EOF > ${{ inputs.folder }}/src/main/resources/bootstrap.yml
cat <<'EOF' > ${{ inputs.folder }}/src/main/resources/bootstrap.yml
spring:
application:
name: ${{ inputs.container_name }}
Expand Down

0 comments on commit 9b0848d

Please sign in to comment.