Skip to content

Commit

Permalink
Merge pull request #596 from woowacourse-teams/fix-develop
Browse files Browse the repository at this point in the history
개발 서버 배포 오류 해결
  • Loading branch information
ksk0605 authored Oct 2, 2024
2 parents bb9a493 + f17e6a8 commit 404ec3d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/cicd-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ jobs:
runs-on: [self-hosted, develop]

steps:
- name: change permission
run: |
sudo chown -R ubuntu:ubuntu /home/ubuntu/actions-runner/_work/2024-mouda
- name: DockerHub login
uses: docker/login-action@v1
with:
Expand All @@ -63,6 +59,7 @@ jobs:

- name: Docker Compose up
run: |
docker compose -f ./backend/docker-compose.yml down mouda-be
docker compose -f ./backend/docker-compose.yml pull mouda-be
docker compose -f ./backend/docker-compose.yml up -d mouda-be
cd ~/deploy
docker compose -f docker-compose-be.yml down
docker compose -f docker-compose-be.yml pull
docker compose -f docker-compose-be.yml up -d

0 comments on commit 404ec3d

Please sign in to comment.