From ca4a9d7bf40b884a0f7eb944f76c898130e29c2f Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Tue, 18 Nov 2025 17:13:07 +0100 Subject: [PATCH] refactor: update deployment conditions and add wait steps for marcopedone and infoalloggi jobs --- .github/workflows/deploy.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 08f3bbd..aef3e18 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,8 +8,14 @@ on: jobs: deploy: runs-on: ubuntu-latest - if: contains(github.event.registry_package.name, 'marcopedone-web') + if: contains(github.event.registry_package.name, 'marcopedone') + concurrency: + group: deploy-marcopedone + cancel-in-progress: true steps: + - name: Wait for batch + run: sleep 30 + - name: Deploy command run: | curl -X 'POST' \ @@ -20,8 +26,14 @@ jobs: -d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}' deploy-infoalloggi: runs-on: ubuntu-latest - if: contains(github.event.registry_package.name, 'infoalloggi-web') + if: contains(github.event.registry_package.name, 'infoalloggi') + concurrency: + group: deploy-infoalloggi + cancel-in-progress: true steps: + - name: Wait for batch + run: sleep 30 + - name: Deploy command run: | curl -X 'POST' \