refactor: update deployment conditions and add wait steps for marcopedone and infoalloggi jobs
This commit is contained in:
parent
5eadcc2df5
commit
ca4a9d7bf4
1 changed files with 14 additions and 2 deletions
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
|
|
@ -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' \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue