Skip to content

Commit

Permalink
hotfix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SachaWildCode committed Jun 19, 2024
1 parent 2bf3c68 commit 05eb79f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,10 @@ jobs:
uses: appleboy/ssh-action@v0.1.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
script: |
docker pull sachawildcode/projet-poec:latest &&
docker-compose down &&
docker-compose up -d
script: |
docker pull sachawildcode/projet-poec:latest &&
docker-compose up -d --force-recreate

0 comments on commit 05eb79f

Please sign in to comment.