Skip to content

Commit 05eb79f

Browse files
committed
hotfix deploy
1 parent 2bf3c68 commit 05eb79f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/deploy.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ jobs:
3131
uses: appleboy/[email protected]
3232
with:
3333
host: ${{ secrets.SSH_HOST }}
34-
username: ${{ secrets.SSH_USERNAME }}
3534
port: ${{ secrets.SSH_PORT }}
35+
username: ${{ secrets.SSH_USERNAME }}
3636
key: ${{ secrets.SSH_PRIVATE_KEY }}
3737
passphrase: ${{ secrets.SSH_PASSPHRASE }}
38-
script: |
39-
docker pull sachawildcode/projet-poec:latest &&
40-
docker-compose down &&
41-
docker-compose up -d
38+
script: |
39+
docker pull sachawildcode/projet-poec:latest &&
40+
docker-compose up -d --force-recreate

0 commit comments

Comments
 (0)