name: Deploy to valhalla # Post-split deploy. The application stacks (foundry, media, notify, monitoring, # remote, owncloud, resume, famapp, authentik, dev) live under stacks// # and are deployed by Portainer git polling — the runner does NOT touch them. # Caddy lives in its own Portainer git stack (stacks/proxy/) and is likewise # deployed by Portainer; this workflow only pushes the Caddyfile and triggers # a hot reload on the running Caddy container. on: push: branches: [main] paths: - Caddyfile - .github/workflows/deploy.yml env: FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: deploy: runs-on: self-hosted steps: - name: Checkout uses: actions/checkout@v4 - name: Push Caddyfile and reload Caddy run: | cp Caddyfile /config/caddy/Caddyfile docker exec caddy caddy reload --config /etc/caddy/Caddyfile