Files
infra/.gitea/workflows/deploy-mini-pc.yml
T
Dmitry dc76e48e21
Deploy cloud-pc / deploy (push) Failing after 1s
Deploy ru-vps / deploy (push) Failing after 1s
Deploy mini-pc / deploy (push) Failing after 2s
Refactor deployment workflows and enhance Docker configuration management
2026-05-27 21:46:38 +03:00

27 lines
599 B
YAML

name: Deploy mini-pc
on:
workflow_dispatch:
inputs:
stack:
description: "Stack to deploy (leave empty to reconcile all)"
required: false
push:
paths:
- '.gitea/workflows/deploy-mini-pc.yml'
- 'mini-pc/**'
schedule:
- cron: '0 4 * * *'
jobs:
deploy:
runs-on: mini-pc
steps:
- name: Sync repo
run: |
git config --global --replace-all safe.directory /opt/services
git -C /opt/services pull --ff-only
- name: Deploy stacks
run: /opt/services/scripts/deploy.sh mini-pc "${{ inputs.stack }}"