Skip to content

Commit

Permalink
[ci-cd] json 내용중 개행문자가 사라지는 문제
Browse files Browse the repository at this point in the history
  • Loading branch information
JunRain2 committed Jun 7, 2024
1 parent 86c196d commit c6360a9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
with:
distribution: temurin
java-version: 17
- run : echo -E "${{ secrets.DEV_YML }}" > ./src/main/resources/application-dev.yml
- run : echo -E "${{ secrets.FIREBASE_KEY }}" > ./src/main/resources/firebase/firebase_key.json

- run: echo -E "${{ secrets.DEV_YML }}" > ./src/main/resources/application-dev.yml
- run: echo "${{ secrets.FIREBASE_KEY }}" | sed 's/\\/\\\\/g' > ./src/main/resources/firebase/firebase_key.json

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand All @@ -46,4 +46,4 @@ jobs:
key: ${{ secrets.KEY }}
host: ${{ secrets.HOST }}
username: ${{ secrets.USER_NAME }}
script: ${{ secrets.SCRIPT }}
script: ${{ secrets.SCRIPT }}

0 comments on commit c6360a9

Please sign in to comment.