refactor: update deployment conditions and add wait steps for marcopedone and infoalloggi jobs

This commit is contained in:
Marco Pedone 2025-11-18 17:13:07 +01:00
parent 5eadcc2df5
commit ca4a9d7bf4

View file

@ -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' \