From b251da9041d32023738b182c75dd18dc966b9764 Mon Sep 17 00:00:00 2001 From: uberswe Date: Sun, 12 Dec 2021 20:32:09 +0100 Subject: [PATCH] Fix deploy configuration --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 731e89c..f55f897 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,4 +46,4 @@ jobs: - name: Deploy run: |- - ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd /var/www/${{ github.event.repository.name }}; docker-compose pull" \ No newline at end of file + ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd /var/www/${{ github.event.repository.name }}; docker-compose down; docker-compose pull; docker-compose up -d" \ No newline at end of file