File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed
Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 5757 docker push ${{ secrets.DOCKER_REPO }}:latest
5858 - name : Update Kubernetes Deployment
5959 run : |
60- envsubst < ./taskflow.yaml
60+ envsubst < ./taskflow.yaml > ./taskflow-back.yaml
6161 env :
6262 IMAGE_TAG : ${{ steps.version.outputs.VERSION }}
6363 # deploy
6969 key : ${{ secrets.KUBE_HOST_KEY }}
7070 port : ${{ secrets.KUBE_HOST_PORT }}
7171 overwrite : true
72- source : ./taskflow.yaml
73- target : ~/taskflow-back.yaml
72+ source : ./taskflow-back .yaml
73+ target : ~/
7474
7575 - name : Deploy
7676 uses : appleboy/ssh-action@master
Original file line number Diff line number Diff line change @@ -35,5 +35,19 @@ springdoc:
3535 path : /swagger/v3/api-docs
3636
3737---
38- spring.config.activate.on-profile : prod
39- swagger.server.url : ${SWAGGER_SERVER_URL:http://localhost:8080}
38+ ---
39+ spring.config.activate.on-profile : " prod"
40+ swagger.server.url : ${SWAGGER_SERVER_URL:http://localhost:8080}
41+
42+ springdoc :
43+ default-consumes-media-type : application/json;charset=UTF-8
44+ default-produces-media-type : application/json;charset=UTF-8
45+ swagger-ui :
46+ path : /swagger
47+ tags-sorter : alpha
48+ operations-sorter : method
49+ display-request-duration : true
50+ disable-swagger-default-url : true
51+ show-actuator : true
52+ api-docs :
53+ path : /swagger/v3/api-docs
Original file line number Diff line number Diff line change 3939 image : clap.kr-central-2.kcr.dev/taskflow/taskflow-server:${IMAGE_TAG}
4040 imagePullPolicy : Always
4141 command : [ "java", "-jar", "app.jar" ]
42- args : [ "--spring.profiles.active=dev " ]
42+ args : [ "--spring.profiles.active=prod " ]
4343 env :
4444 - name : TZ
4545 value : " Asia/Seoul"
You can’t perform that action at this time.
0 commit comments