fix(release): use server timer until workflow bootstrap

This commit is contained in:
Hermes
2026-11-26 18:04:01 +10:00
parent 8a0805a1b7
commit d6f66656e0
10 changed files with 99 additions and 58 deletions
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Stage release SHA and deploy approved main SHA
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=mcp-user
Environment=PATH=/home/mcp-user/.npm-global/bin:/home/mcp-user/.local/bin:/usr/local/bin:/usr/bin:/bin
ExecStart=/usr/bin/bash /home/mcp-user/smeta-release-control/scripts/auto_release_tick.sh
TimeoutStartSec=45min
+11
View File
@@ -0,0 +1,11 @@
[Unit]
Description=Check published smeta-web revisions each minute
[Timer]
OnBootSec=30s
OnUnitInactiveSec=1min
Unit=smeta-auto-release.service
Persistent=true
[Install]
WantedBy=timers.target