Skip to content

Commit

Permalink
배포 스크립트 로그 추가 및 application-prod 생성 로직 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yujung7768903 committed Oct 12, 2024
1 parent a71574f commit ea9331a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- run : touch ./src/main/resources/application.yml
- run : touch ./src/main/resources/application-prod.yml
- run : echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application.yml
- run : echo "${{ secrets.APPLICATION }}" > ./src/main/resources/application-prod.yml
- run : cat ./src/main/resources/application.yml

- run: touch ./src/test/resources/application.yml
Expand Down
2 changes: 2 additions & 0 deletions scripts/run_new_was.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#!/bin/bash

echo "start run_new_was"
echo "current user: $USER"
shopt -q login_shell && echo "Login shell" || echo "Non-login shell"
PROJECT_ROOT="/home/ec2-user/backend"
JAR_FILE="$PROJECT_ROOT/build/libs/backend-0.0.1-SNAPSHOT.jar"

Expand Down

0 comments on commit ea9331a

Please sign in to comment.