diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..fc8fd32 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,29 @@ +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!"