migrate
Deploy authentik / deploy (push) Successful in 13s
Deploy dockhand / deploy (push) Successful in 7s
Deploy duplicati / deploy (push) Successful in 10s
Deploy immich / deploy (push) Failing after 6s
Deploy obsidian / deploy (push) Successful in 6s
Deploy Sencho / deploy (push) Failing after 5s
Deploy watchtower / deploy (push) Failing after 7s
Deploy authentik / deploy (push) Successful in 13s
Deploy dockhand / deploy (push) Successful in 7s
Deploy duplicati / deploy (push) Successful in 10s
Deploy immich / deploy (push) Failing after 6s
Deploy obsidian / deploy (push) Successful in 6s
Deploy Sencho / deploy (push) Failing after 5s
Deploy watchtower / deploy (push) Failing after 7s
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
name: Deploy watchtower
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'watchtower/**' # <-- CRITICAL: Only triggers if files in the watchtower folder change
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Sync watchtower to Host
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: "192.168.2.6"
|
||||
username: "miker"
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
source: "watchtower/"
|
||||
target: "/home/miker/docker"
|
||||
|
||||
- name: Deploy watchtower Stack
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: "192.168.2.6"
|
||||
username: "miker"
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
script: |
|
||||
cd /home/miker/docker/watchtower
|
||||
docker compose up -d --remove-orphans
|
||||
Reference in New Issue
Block a user