name: Deploy on package push on: registry_package: types: ["published", "updated"] jobs: deploy: runs-on: ubuntu-latest if: github.event.registry_package.name == 'marcopedone-web' steps: - name: Deploy command run: | curl -X 'POST' \ 'https://dock.marcopedone.it/api/compose.deploy' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H 'x-api-key: gbiVIPaEQtkPywiAOIxiBtLrjKVuIqcnXXNMTzMXZoyTgJtgyLpHrlfBEqIcyEUM' \ -d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}'