Skip to content

Commit

Permalink
[BSVR-27] 개발환경 CICD ver.3 (#29)
Browse files Browse the repository at this point in the history
* feat: gitignore에 .env 추가

* feat: application-jpa sql init mode 항목 always->never

* feat: 개발환경 db 세팅 값을 cloud db for mysql로 변경

* feat: 개발환경 cicd 스크립트 작성

* feat: 개발용 main 브랜치 ci 스크립트 재작성

* fix: 트리거에서 개발서버 배포담당인 dev브랜치 제외

* fix: 개발환경 작업 스크립트 통합

* feat: 배포용 도커파일 추가

* fix: ssh 포트번호 설정 추가
  • Loading branch information
pminsung12 authored Jul 16, 2024
1 parent 6a42b1a commit e4b8ea3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
host: ${{ secrets.DEV_NCP_SERVER_HOST }}
username: ${{ secrets.DEV_NCP_SERVER_USERNAME }}
password: ${{ secrets.DEV_NCP_SERVER_PASSWORD }}
port: ${{ secrets.DEV_NCP_SERVER_PORT }}
script: |
docker pull ${{ secrets.DOCKERHUB_USERNAME }}/spot-server:dev-${{ github.sha }}
docker stop spot-server-dev || true
Expand Down

0 comments on commit e4b8ea3

Please sign in to comment.