Files
nova/.woodpecker/deploy.yml
buenosairesam 74ce349e04
All checks were successful
ci/woodpecker/manual/build Pipeline was successful
ci/woodpecker/manual/deploy Pipeline was successful
split pipeline into build (local) and deploy (server) workflows
2026-04-16 23:10:44 -03:00

31 lines
768 B
YAML

# UNT (NOVA) — Deploy Workflow
#
# Runs on the server-side agent (label: location=server).
# Depends on build.yml completing — pulls the just-pushed images via the
# public HTTPS path and runs docker compose on the host daemon.
#
# The edge compose dir is mounted read-only so we structurally cannot stomp
# the server's .env (see ppl/def/ci-cd/auth-tiers.md context).
when:
- event: manual
labels:
location: server
depends_on:
- build
steps:
- name: deploy
image: docker:24-cli
commands:
- cd /edge
- docker compose pull
- docker compose up -d --remove-orphans
- docker image prune -f
- docker compose ps
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/mariano/unt/ctrl/edge:/edge:ro