Skip to content

Commit

Permalink
new target for compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Unischneider committed Oct 24, 2024
1 parent ec0fc41 commit b190095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
docker compose -f /home/${{ vars.VM_USERNAME }}/${{ github.repository }}/docker-compose.yml up --pull=always -d

0 comments on commit b190095

Please sign in to comment.