Update .gitea/workflows/deploy-watchtower.yml

This commit is contained in:
2026-07-20 13:54:29 +00:00
parent 1dc049359a
commit aab7adec0f
+4 -3
View File
@@ -5,7 +5,7 @@ on:
branches: branches:
- main - main
paths: paths:
- 'Watchtower/**' # <-- CRITICAL: Only triggers if files in the watchtower folder change - 'Watchtower/**'
jobs: jobs:
deploy: deploy:
@@ -20,8 +20,9 @@ jobs:
host: "192.168.2.14" host: "192.168.2.14"
username: "miker" username: "miker"
key: ${{ secrets.SSH_PRIVATE_KEY }} key: ${{ secrets.SSH_PRIVATE_KEY }}
source: "Watchtower/" source: "Watchtower/*"
target: "/opt/Docker-Deployments" target: "/opt/Docker-Deployments/Watchtower"
strip_components: 1
- name: Deploy Watchtower Stack - name: Deploy Watchtower Stack
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master