name: Deploy to site

on:
  workflow_dispatch:
    inputs:
      site:
        description: 'Выберите сайт для деплоя'
        required: true
        type: choice
        options:
          - schelkovo.dekart.school
          - balashiha.dekart.school
          - korolev.dekart.school
          - mytishchi.dekart.school
          - pushkino.dekart.school

jobs:
  deploy:
    runs-on: ubuntu-latest
    
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      
      - name: Deploy to ${{ inputs.site }}
        run: |
          echo "🚀 Deploying to ${{ inputs.site }}..."
          echo "TODO: SSH connection and deploy.sh execution"
          echo "✅ Deploy completed!"
