Compare commits
2
Commits
00d191c1ee
...
5bcda7de80
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bcda7de80 | ||
|
|
9c87873c4e |
@@ -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:
|
||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
host: "192.168.2.13"
|
host: "192.168.2.13"
|
||||||
username: "miker"
|
username: "miker"
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
password: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
source: "Watchtower/"
|
source: "Watchtower/"
|
||||||
target: "/opt/Docker-Deployments"
|
target: "/opt/Docker-Deployments"
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
host: "192.168.2.13"
|
host: "192.168.2.13"
|
||||||
username: "miker"
|
username: "miker"
|
||||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
password: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
script: |
|
script: |
|
||||||
cd /opt/Docker-Deployments/Watchtower
|
cd /opt/Docker-Deployments/Watchtower
|
||||||
docker compose up -d --remove-orphans
|
docker compose up -d --remove-orphans
|
||||||
|
|||||||
Reference in New Issue
Block a user