Skip to content

Commit

Permalink
[BE] refactor: EOF 들여쓰기 제거 (#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 de34dbb commit b9a3355
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/actions/ecr-push/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,22 @@ runs:
run: |
if [[ "${{ inputs.container_name }}" == "config-server" ]]; then
cat <<EOF > ${{ inputs.folder }}/src/main/resources/bootstrap.yml
encrypt:
key: ${{ inputs.config_private_ip }}
EOF
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
spring:
application:
name: ${{ inputs.container_name }}
cloud:
config:
uri: http://${{ inputs.config_private_ip }}:${{ inputs.config_port }}
EOF
spring:
application:
name: ${{ inputs.container_name }}
cloud:
config:
uri: http://${{ inputs.config_private_ip }}:${{ inputs.config_port }}
EOF
fi

# Docker 빌드 및 ECR에 푸시
Expand Down

0 comments on commit b9a3355

Please sign in to comment.