From 43e50b57632d23eb40b1575b909e90dc1b50f533 Mon Sep 17 00:00:00 2001 From: kalugin66 Date: Sat, 18 Apr 2026 17:34:08 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20.g?= =?UTF-8?q?itea/workflows/install.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/install.yaml | 55 ----------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 .gitea/workflows/install.yaml diff --git a/.gitea/workflows/install.yaml b/.gitea/workflows/install.yaml deleted file mode 100644 index c3051be..0000000 --- a/.gitea/workflows/install.yaml +++ /dev/null @@ -1,55 +0,0 @@ -name: Manual and Auto Deployment -on: - push: - branches: [main] - # Добавляем блок ручного запуска - workflow_dispatch: - inputs: - run_mode: - description: 'Что запустить?' - required: true - default: 'all' - type: choice - options: - - 'all' - - 'docker_only' - - 'msi_only' - -jobs: - # 1. Работа с Docker (только если выбрано 'all' или 'docker_only') - docker-latest: - if: github.event_name == 'push' || github.event.inputs.run_mode == 'all' || github.event.inputs.run_mode == 'docker_only' - runs-on: docker-latest - container: - image: node:18-alpine - steps: - - name: docker ps - shell: bash - run: docker ps - - # 2. Установка MSI на конкретный раннер - deploy_all: - if: github.event_name == 'push' || github.event.inputs.run_mode == 'all' || github.event.inputs.run_mode == 'msi_only' - strategy: - matrix: - target_runner: [K4012-KOA] - runs-on: ${{ matrix.target_runner }} - steps: - - name: Install MSI and Create Log - shell: powershell - run: | - Start-Process msiexec.exe -ArgumentList "/i C:\install\MAX.msi /qn /norestart" -Wait - "Installed successfully on $(hostname) at $(Get-Date)" | Out-File -FilePath "C:\install\git_MAX2.txt" -Encoding utf8 - - # 3. Установка на любой свободный self-hosted - install_single: - runs-on: [self-hosted, linux-amd64, kalugin66] - steps: - - name: bash - shell: bash - run: | - ls - cd .. && ls - docker ps - cd .. && ls - docker ps -a \ No newline at end of file