Archive Legacy Setup And Add Ansible Control Plane

This commit is contained in:
Dmitry
2026-07-08 12:47:37 +03:00
parent 841d56380b
commit 4bafa7d09e
203 changed files with 1663 additions and 11 deletions
@@ -0,0 +1,28 @@
name: Deploy ru-vps
on:
workflow_dispatch:
inputs:
stack:
description: "Stack to deploy (leave empty to reconcile all)"
required: false
push:
paths:
- ".gitea/workflows/deploy-ru-vps.yml"
- "ru-vps/**"
schedule:
- cron: "0 4 * * *"
jobs:
deploy:
runs-on: ru-vps
steps:
- name: Sync repo
run: |
git config --global --replace-all safe.directory /opt/services
git -C /opt/services pull origin main --ff-only
chown -R 1000:100 /opt/services
- name: Deploy stacks
run: /opt/services/scripts/deploy.sh ru-vps "${{ inputs.stack }}"