reconfigured workflow

This commit is contained in:
2025-10-26 09:12:28 -04:00
parent 8ec3c95f7e
commit 792b5e7c0d
2 changed files with 7 additions and 18 deletions

View File

@@ -36,3 +36,9 @@ jobs:
echo "🚀 Deploying: $stack_name"
docker stack deploy -c "$file" "$stack_name" --with-registry-auth
done
- name: Reload Caddy
if: steps.changes.outputs.changed != ''
run: |
echo "🔄 Restarting Caddy..."
docker service update --force caddy_caddy

View File

@@ -1,17 +0,0 @@
name: Reload Caddy Proxy
on:
workflow_run:
workflows: ["Deploy Stack to Swarm"]
types:
- completed
jobs:
reload:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Restart Caddy
run: |
echo "🔄 Restarting Caddy..."
docker service update --force caddy_caddy