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