From aab7adec0f1b9f5d3079a6ae3d01753cb5365e7e Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 20 Jul 2026 13:54:29 +0000 Subject: [PATCH] Update .gitea/workflows/deploy-watchtower.yml --- .gitea/workflows/deploy-watchtower.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy-watchtower.yml b/.gitea/workflows/deploy-watchtower.yml index e8b5780..46ea689 100644 --- a/.gitea/workflows/deploy-watchtower.yml +++ b/.gitea/workflows/deploy-watchtower.yml @@ -5,7 +5,7 @@ on: branches: - main paths: - - 'Watchtower/**' # <-- CRITICAL: Only triggers if files in the watchtower folder change + - 'Watchtower/**' jobs: deploy: @@ -20,8 +20,9 @@ jobs: host: "192.168.2.14" username: "miker" key: ${{ secrets.SSH_PRIVATE_KEY }} - source: "Watchtower/" - target: "/opt/Docker-Deployments" + source: "Watchtower/*" + target: "/opt/Docker-Deployments/Watchtower" + strip_components: 1 - name: Deploy Watchtower Stack uses: appleboy/ssh-action@master