From ab35e32a20c9927b647be37dba2f9203989d5b19 Mon Sep 17 00:00:00 2001 From: Due <48638700+Due-IT@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:35:36 +0900 Subject: [PATCH] Update gradle.yml --- .github/workflows/gradle.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 8fd8018..a40e4b6 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -74,9 +74,7 @@ jobs: script: | sudo docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_PASSWORD }} sudo docker pull ${{ secrets.DOCKERHUB_USERNAME }}/${{ secrets.DOCKERHUB_REPOSITORY }} - echo "ok" echo "SPRING_DATASOURCE_URL=${{ secrets.SPRING_DATASOURCE_URL }}" > .env - echo "ok1" echo "SPRING_DATASOURCE_USERNAME=${{ secrets.SPRING_DATASOURCE_USERNAME }}" >> .env echo "SPRING_DATASOURCE_PASSWORD=${{ secrets.SPRING_DATASOURCE_PASSWORD }}" >> .env echo "JWT_KEY=${{ secrets.JWT_KEY }}" >> .env @@ -85,6 +83,7 @@ jobs: echo "DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}" >> .env echo "DOCKERHUB_REPOSITORY=${{ secrets.DOCKERHUB_REPOSITORY }}" >> .env + echo "ok" sudo docker-compose down sudo docker-compose up -d