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 7547d54 commit 56cd921
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: server
env :
DEV_YAML : ${{ secrets.DEV_YML }}
FIREBASE_KEY : ${{ secrets.FIREBASE_KEY }}


on:
workflow_dispatch:
Expand Down Expand Up @@ -27,9 +31,12 @@ 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

- name : injection-
run : echo -E $DEV_YML > ./src/main/resources/application-dev.yml

- name : injection-firebase
run : echo -E $FIREBASE_KEY > ./src/main/resources/firebase/firebase_key.json

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down

0 comments on commit 56cd921

Please sign in to comment.