refactor: update deployment conditions in GitHub Actions workflow

This commit is contained in:
Marco Pedone 2025-11-14 18:50:03 +01:00
parent fc104d4044
commit f8c00f01ab

View file

@ -2,12 +2,13 @@ name: Deploy on package push
on:
registry_package:
types: ["published", "updated"]
types: [published]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.registry_package.name == 'marcopedone-web'
if: contains(github.event.registry_package.name, 'marcopedone-web')
steps:
- name: Deploy command
run: |
@ -19,7 +20,7 @@ jobs:
-d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}'
deploy-infoalloggi:
runs-on: ubuntu-latest
if: github.event.registry_package.name == 'infoalloggi-web'
if: contains(github.event.registry_package.name, 'infoalloggi-web')
steps:
- name: Deploy command
run: |