From b1900953d0d726bce291e8fe12cb00a338384613 Mon Sep 17 00:00:00 2001 From: nickschneider Date: Thu, 24 Oct 2024 23:11:55 +0200 Subject: [PATCH] new target for compose --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 149e7b0..31fcb5f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -63,7 +63,7 @@ jobs: proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }} proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }} source: "./docker-compose.yml" - target: /home/${{ vars.VM_USERNAME }} + target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }} - name: SSH to VM and Execute Docker-Compose Up @@ -77,4 +77,4 @@ jobs: proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }} proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }} script: | - docker compose -f /home/${{ vars.VM_USERNAME }}/docker-compose.yml up --pull=always -d \ No newline at end of file + docker compose -f /home/${{ vars.VM_USERNAME }}/${{ github.repository }}/docker-compose.yml up --pull=always -d