diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml index 5ed54018..ad49cb98 100644 --- a/.github/workflows/cd-dev.yml +++ b/.github/workflows/cd-dev.yml @@ -33,13 +33,22 @@ jobs: env: KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} with: - args: get pods - - run: | - kubectl delete secret database-secret - kubectl create secret generic database-secret \ - --from-literal=server=1234 \ - --from-literal=server=1234 \ - - run: | - kubectl delete svc myway-frontend - kubectl delete deploy myway-frontend - kubectl apply -k ./frontend + args: delete secret database-secret + + - uses: actions-hub/kubectl@master + with: + args: create secret generic myway-database-secret \ + --from-literal=server.url=1234 \ + --from-literal=server.port=1234 \ + + - uses: actions-hub/kubectl@master + with: + args: delete svc myway-frontend + + - uses: actions-hub/kubectl@master + with: + args: delete deploy myway-frontend + + - uses: actions-hub/kubectl@master + with: + args: apply -k ./frontend \ No newline at end of file diff --git a/back/src/main/resources/application-local.yml b/back/src/main/resources/application-local.yml index d385d0c1..580fcc16 100644 --- a/back/src/main/resources/application-local.yml +++ b/back/src/main/resources/application-local.yml @@ -5,12 +5,12 @@ spring: username: root password: 1234 driver-class-name: com.mysql.cj.jdbc.Driver - jdbc-url: jdbc:mysql://localhost:3306/lupin_killer?serverTimezone=Asia/Seoul + jdbc-url: jdbc:mysql://localhost:3306/crew_ship?serverTimezone=Asia/Seoul slave: username: root password: 1234 driver-class-name: com.mysql.cj.jdbc.Driver - jdbc-url: jdbc:mysql://localhost:3307/lupin_killer?serverTimezone=Asia/Seoul + jdbc-url: jdbc:mysql://localhost:3307/crew_ship?serverTimezone=Asia/Seoul jpa: show-sql: true hibernate: