File tree Expand file tree Collapse file tree 3 files changed +17
-15
lines changed
src/main/java/com/openbook/openbook/configuration Expand file tree Collapse file tree 3 files changed +17
-15
lines changed Original file line number Diff line number Diff line change @@ -58,21 +58,21 @@ jobs:
5858 - name : docker Hub push
5959 run : docker push ${{ secrets.DOCKER_USERNAME }}/openbook
6060
61- run-docker-image-on-ec2 :
62- needs : build-docker-image
63- runs-on : self-hosted
64-
65- steps :
66- - name : deploy
67- uses : appleboy/ssh-action@master
68- with :
69- host : ${{ secrets.HOST_DEV }}
70- username : ${{ secrets.USERNAME }}
71- key : ${{ secrets.EC2_SSH_PRIVATE_KEY }}
72- script : |
73- cd ~
74- chmod +x ./deploy .sh
75- ./deploy .sh
61+ # run-docker-image-on-ec2:
62+ # needs: build-docker-image
63+ # runs-on: self-hosted
64+ #
65+ # steps:
66+ # - name: deploy
67+ # uses: appleboy/ssh-action@master
68+ # with:
69+ # host: ${{ secrets.HOST_DEV }}
70+ # username: ${{ secrets.USERNAME }}
71+ # key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
72+ # script: |
73+ # cd ~
74+ # chmod +x ./deploytest .sh
75+ # ./deploytest .sh
7676
7777
7878
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ dependencies {
2828 implementation ' org.springframework.boot:spring-boot-starter-security'
2929 implementation ' org.springframework.boot:spring-boot-starter-web'
3030 implementation ' org.springframework.boot:spring-boot-devtools'
31+ implementation ' org.springframework.boot:spring-boot-starter-actuator'
3132
3233 implementation ' org.springframework.boot:spring-boot-starter-validation'
3334
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ public class SecurityConfig {
2525 private final CustomAuthenticationEntryPoint customAuthenticationEntryPoint ;
2626
2727 private final String [] permitPaths = {
28+ "/actuator/health" ,
2829 "/login" ,
2930 "/signup" ,
3031 "/booths" ,
You can’t perform that action at this time.
0 commit comments