diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 36cb8e4..f0e4fd0 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -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 @@ -46,4 +46,4 @@ jobs: key: ${{ secrets.KEY }} host: ${{ secrets.HOST }} username: ${{ secrets.USER_NAME }} - script: ${{ secrets.SCRIPT }} \ No newline at end of file + script: ${{ secrets.SCRIPT }}