From da85166f65984eaf5f2d7b036de9195502e0dcef Mon Sep 17 00:00:00 2001 From: ylembachar Date: Thu, 24 Oct 2024 09:57:55 +0200 Subject: [PATCH] fix git checkout command --- .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 81a04b7..b1d6c36 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -174,4 +174,4 @@ jobs: - name: Deploy to Production run: > ssh -o StrictHostKeyChecking=no ${{secrets.PROD_SERVER_USER}}@${{secrets.PROD_SERVER_HOST}} - "set -x && cd /root/shutter-explorer && git pull origin main && git submodule update --init --recursive && git checkout tags/${{ env.LATEST_TAG }} && cd docker && docker compose up -d --build" + "set -x && cd /root/shutter-explorer && git pull origin main && git submodule update --init --recursive && git checkout ${{ env.LATEST_TAG }} && cd docker && docker compose up -d --build"