Skip to content

home: make the live home the logged-out front door again; move the pi… #1748

home: make the live home the logged-out front door again; move the pi…

home: make the live home the logged-out front door again; move the pi… #1748

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.DEPLOY_HOST }}
username: mu
port: 61194
key: ${{ secrets.DEPLOY_KEY }}
script_stop: true
script: |
set -e
cd ~/src/mu
git pull origin main
source ~/.env
go install
# One-time: switch to socket activation for zero-downtime restarts.
# Idempotent, self-verifying, and guarded so it can never fail a deploy.
sh scripts/deploy/enable-zero-downtime.sh || true
sudo -n systemctl restart mu
echo "Deploy complete"