Change deploy workflow trigger to push events

This commit is contained in:
Sennay
2026-06-11 13:41:51 +03:00
committed by GitHub
parent ce38a5cca1
commit 4270cdb2a5

View File

@@ -1,16 +1,15 @@
name: Deploy Stacks
on:
workflow_run:
workflows: ["Malware & Obfuscation Scan"]
types: [completed]
push:
branches:
- main
- dev
- staging
workflow_dispatch:
concurrency:
group: deploy-${{ github.event.workflow_run.head_branch || github.ref_name }}
group: deploy-${{ github.ref_name }}
cancel-in-progress: true
jobs:
@@ -39,10 +38,9 @@ jobs:
- project: edr-passenger
build_env_file: passenger-web.build.env
service: passenger-backoffice
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
env:
PROJECT: ${{ matrix.project }}
BRANCH: ${{ github.event.workflow_run.head_branch || github.ref_name }}
BRANCH: ${{ github.ref_name }}
DEPLOY_USER: tria
BUILD_ENV_FILE: ${{ matrix.build_env_file }}
DOCKER_BUILDKIT: "1"