Skip to content

Commit

Permalink
Update github-action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gol2580 authored Jan 17, 2024
1 parent 0e274a1 commit 7866341
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
touch ./security.properties
# GitHub-Actions에서 설정한 값을 security.properties 파일에 쓰기
echo "${{ secrets.PROPERTIES }}" > ./security.properties
echo "${{ secrets.USERNAME }}" > ./security.properties
shell: bash

- name: create firebase key
run: |
cd ./src/main/resources
touch ./kimgreen-f33e5-firebase-adminsdk-63srz-6817b2eec4.json
echo "${{ secrets.FIREBASE_KEY }}" > ./kimgreen-f33e5-firebase-adminsdk-63srz-6817b2eec4.json
echo "${{ secrets.USERNAME }}" > ./kimgreen-f33e5-firebase-adminsdk-63srz-6817b2eec4.json
- name: Build with Gradle
run: |
Expand All @@ -64,6 +64,6 @@ jobs:
script: |
sudo docker ps
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/kimgreen
sudo docker run -d -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/kimgreen
sudo docker run -d --name server -e TZ=Asia/Seoul -p 8080:8080 ${{ secrets.DOCKER_USERNAME }}/kimgreen
sudo docker image prune -f

0 comments on commit 7866341

Please sign in to comment.