Skip to content

Commit

Permalink
feat: Update deploy directory (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmizz authored Jul 16, 2024
1 parent 6f0af43 commit 4453884
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/showpot-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: |
mkdir -p deployment
cp Dockerfile docker-compose.yml deployment/
cp -r ./app/build/libs deployment/
cp -r ./app deployment/
- name: Get Github Actions IP
id: ip
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,6 @@ gradle-app.setting
### QClass ###
**/src/main/generated/

app/src/main/resources/application-cloud-local.yml

# End of https://www.toptal.com/developers/gitignore/api/java,intellij+all,macos,gradle
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:21-jdk-slim
ARG JAR_FILE_PATH=libs/*.jar
ARG JAR_FILE_PATH=app/build/libs/*.jar
COPY ${JAR_FILE_PATH} app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]
2 changes: 1 addition & 1 deletion app/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ spring:
profiles:
active: local
group:
local: domain-local
local: domain-local, cloud-local
dev: domain-dev
prod: domain-prod

0 comments on commit 4453884

Please sign in to comment.