Skip to content

Commit

Permalink
fix: deploy branche to release
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurFrin committed Jul 25, 2024
1 parent ec948d7 commit 733f809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy to VPS
on:
push:
branches:
- feat/discover-view # Déclencher le déploiement uniquement sur la branche release
- release # Déclencher le déploiement uniquement sur la branche release

jobs:
deploy:
Expand All @@ -24,7 +24,7 @@ jobs:
run: |
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@$VPS_IP '
cd /home/cleanwalk-org-v2 &&
git pull origin feat/discover-view &&
git pull origin release &&
docker compose -f docker-compose.prod.yml down &&
docker compose -f docker-compose.prod.yml up -d --build
'

0 comments on commit 733f809

Please sign in to comment.