Merge branch 'main' of gitea.mikemcfetridge.com:miker/Docker-02
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -33,4 +33,4 @@ services:
|
|||||||
- external
|
- external
|
||||||
networks:
|
networks:
|
||||||
external:
|
external:
|
||||||
external: true # Tells Compose not to create this network
|
external: true # Tells Compose not to create this network.
|
||||||
Reference in New Issue
Block a user