Skip to content

Commit

Permalink
[#13] fix: docker-compose 실행 위치 지정
Browse files Browse the repository at this point in the history
- self-hosted-runner에서 실행되는 작업 디렉터리 수정
  • Loading branch information
YehyeokBang committed Sep 20, 2024
1 parent f981305 commit 0d731df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
runs-on: self-hosted

steps:
- name: Move to the cd location
run: cd ~/app

- name: Docker Image pull
run: sudo docker pull ${{ secrets.DOCKER_USERNAME }}/${{ secrets.DOCKER_HUB_REPOSITORY }}:latest

- name: Docker Compose Restart
run: sudo docker-compose down && sudo docker-compose up -d
run: |
cd ~/app
sudo docker-compose down
sudo docker-compose up -d

0 comments on commit 0d731df

Please sign in to comment.