# Deploy from this repo onto the vel's own host (kasse). There is no # `tomtervel`-labelled runner, so this workflow queues and does nothing; # deploy by hand on the host with: # cd /srv/tomtervel/infrastructure && git pull --ff-only && sudo sh bootstrap.sh # (bootstrap.sh runs `podman compose up -d --build`, rootful). Rolling out # a new portal version is a commit that bumps PORTAL_RELEASE in .env.example # and, on the host, in .env. name: deploy on: push: branches: [main] paths: - compose.yml - Caddyfile - portal/** - kanidm/server.toml.tpl - nats/nats.conf.tpl - .gitea/workflows/deploy.yml workflow_dispatch: jobs: deploy: runs-on: tomtervel steps: - name: Pull and restart run: | set -eu cd /srv/tomtervel/infrastructure git pull --ff-only sh bootstrap.sh