-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(#84): ssh-action을 사용한 core 서버 배포
- Loading branch information
1 parent
04ddfe7
commit ed95104
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,10 +60,16 @@ jobs: | |
run: ./gradlew jib | ||
|
||
deployment: | ||
name: docker 배포 | ||
name: docker deployment | ||
needs: build # depends on | ||
runs-on: self-hosted | ||
|
||
steps: | ||
- name: docker-compose 배포 스크립트 | ||
run: ${{ secrets.DOCKER_COMPOSE_DEPLOYMENT_SCRIPT }} | ||
- name: executing remote ssh commands using password | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.HOST }} | ||
username: ${{ secrets.USERNAME }} | ||
password: ${{ secrets.PASSWORD }} | ||
port: ${{ secrets.PORT }} | ||
script: ${{ secrets.DOCKER_COMPOSE_DEPLOYMENT_SCRIPT }} # docker-compose 배포 스크립트 실행 |