Skip to content

Commit

Permalink
Change 'docker-compose' to 'docker compose'
Browse files Browse the repository at this point in the history
  • Loading branch information
ADesBiysk committed Nov 23, 2024
1 parent 7220ce4 commit e569acf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ jobs:
cd ${{ env.DEPLOY_PATH }}
docker image prune -f
docker pull ${{ env.REGISTRY }}/${{ env.REP_OWNER }}/${{ env.IMAGE_NAME }}:prod
docker-compose --file docker-compose.yaml stop
docker-compose --file docker-compose.yaml rm backend
docker-compose --file docker-compose.yaml up -d
docker compose --file docker-compose.yaml stop
docker compose --file docker-compose.yaml rm backend
docker compose --file docker-compose.yaml up -d
- name: Making migrations
uses: appleboy/ssh-action@master
Expand All @@ -119,7 +119,7 @@ jobs:
key: ${{ secrets.SSH_KEY }}
script: |
cd ${{ env.DEPLOY_PATH }}
docker-compose exec -T -w ${{ env.WORK_DIR }} backend alembic upgrade head
docker compose exec -T -w ${{ env.WORK_DIR }} backend alembic upgrade head
- name: Sleep for 30 seconds
run: sleep 30s
Expand Down

0 comments on commit e569acf

Please sign in to comment.