ci: build-free deploy-services.yml for docs + flatpak server #1

Merged
enricobuehler merged 2 commits from deploy-services-workflow into main 2026-07-10 21:31:18 +00:00
Owner

Adds a dispatchable, build-free deploy-services.yml so unom/infra's deploy-all can bring a fresh unom-1 fully up in one dispatch — without triggering the heavy builds that docker.yml (5-image matrix) and flatpak.yml (full flatpak-builder) run.

What it does

  • docsscp compose.production.yml~/punktfunk-docs, then docker compose pull docs + up -d --no-build (pulls the already-published punktfunk-docs:latest).
  • flatpakscp packaging/flatpak/server/{compose.production.yml,Caddyfile}~/unom-flatpak, then up -d the caddy:2-alpine static server.

Reuses the exact deploy artifacts already in this repo (no vendored copies) and the same SHA-pinned appleboy actions + secret set (DEPLOY_*, REGISTRY_TOKEN) that docker.yml/flatpak.yml use.

Not shipped here

The flatpak OSTree content (./site) is deliberately not part of a deploy — it's regenerated by flatpak.yml's next publish or restored from the unom-1 backup (unom/infra scripts/restore-unom-1.sh, files tag). A fresh box serves an empty repo until then. The step mkdir -p ~/unom-flatpak/site/repo only ensures the bind-mount source exists.

Verified

Dispatched on this branch against the live box: both jobs green; docs :3220→200, flatpak :3230→200; the existing site/ (574 M, stable + canary refs) untouched.

🤖 Generated with Claude Code

Adds a dispatchable, **build-free** `deploy-services.yml` so `unom/infra`'s `deploy-all` can bring a fresh unom-1 fully up in one dispatch — without triggering the heavy builds that `docker.yml` (5-image matrix) and `flatpak.yml` (full flatpak-builder) run. ## What it does - **docs** — `scp compose.production.yml` → `~/punktfunk-docs`, then `docker compose pull docs` + `up -d --no-build` (pulls the already-published `punktfunk-docs:latest`). - **flatpak** — `scp packaging/flatpak/server/{compose.production.yml,Caddyfile}` → `~/unom-flatpak`, then `up -d` the `caddy:2-alpine` static server. Reuses the exact deploy artifacts already in this repo (no vendored copies) and the same SHA-pinned appleboy actions + secret set (`DEPLOY_*`, `REGISTRY_TOKEN`) that `docker.yml`/`flatpak.yml` use. ## Not shipped here The flatpak OSTree **content** (`./site`) is deliberately not part of a deploy — it's regenerated by `flatpak.yml`'s next publish or restored from the unom-1 backup (`unom/infra scripts/restore-unom-1.sh`, `files` tag). A fresh box serves an empty repo until then. The step `mkdir -p ~/unom-flatpak/site/repo` only ensures the bind-mount source exists. ## Verified Dispatched on this branch against the live box: both jobs green; `docs :3220`→200, `flatpak :3230`→200; the existing `site/` (574 M, `stable` + `canary` refs) untouched. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
enricobuehler added 2 commits 2026-07-10 19:14:47 +00:00
docker.yml (5-image matrix) and flatpak.yml (full flatpak-builder) couple the
docs + flatpak-server deploys to heavy builds. This adds a dispatchable,
build-free deploy-services.yml that just (re)places the compose files and pulls
the already-published images, so unom/infra's deploy-all can bring a fresh
unom-1 fully up in one dispatch. The flatpak ./site OSTree content is restored
from the unom-1 backup or regenerated by flatpak.yml's next publish.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ci: fix deploy-services.yml content (was double-encoded)
ci / web (pull_request) Successful in 51s
ci / docs-site (pull_request) Successful in 1m6s
apple / swift (pull_request) Successful in 4m31s
apple / screenshots (pull_request) Has been skipped
ci / bench (pull_request) Successful in 6m36s
android / android (pull_request) Successful in 11m4s
ci / rust (pull_request) Failing after 14m45s
9b0aac4b5c
enricobuehler merged commit 979e38523b into main 2026-07-10 21:31:18 +00:00
enricobuehler deleted branch deploy-services-workflow 2026-07-10 21:31:18 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unom/punktfunk#1