css: scroll the whole mobile sidebar so Account/Logout are always rea… #1751
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |