From 3adad7dbbf073a93446237e912992d62e0ba2909 Mon Sep 17 00:00:00 2001 From: Aleksandr Meshchriakov Date: Sun, 21 Jun 2026 19:39:44 +0200 Subject: [PATCH] Enable manual and runner-bound dev deploy workflow --- .gitea/workflows/ci-cd.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index c37006f..54aaf9f 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -9,6 +9,7 @@ on: pull_request: branches: - dev + workflow_dispatch: concurrency: group: anal-front-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} @@ -95,10 +96,20 @@ jobs: deploy_dev: name: Build and Deploy Dev via Compose - runs-on: ubuntu-latest + runs-on: [frontend, ubuntu-latest] timeout-minutes: 45 needs: [quality] - if: github.event_name == 'push' && github.ref == 'refs/heads/dev' && needs.quality.result == 'success' && !contains(github.event.head_commit.message, '#no_deploy') + if: | + ( + github.event_name == 'push' && + github.ref == 'refs/heads/dev' && + needs.quality.result == 'success' && + !contains(github.event.head_commit.message, '#no_deploy') + ) || ( + github.event_name == 'workflow_dispatch' && + github.ref == 'refs/heads/dev' && + needs.quality.result == 'success' + ) steps: - name: Checkout code