From 165ea2df4fe7151ea9209053185cdf7767ae5b0a Mon Sep 17 00:00:00 2001 From: akmatoff Date: Tue, 15 Oct 2024 20:36:17 +0600 Subject: [PATCH] add git pull to ssh deploy --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2b18f7b..ee8402f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -46,6 +46,7 @@ jobs: port: 22 script: | cd codium-website; + git pull; docker stop codium-website; docker rm codium-website; docker pull ${{ secrets.DOCKER_USERNAME }}/codium-website:latest;