infoalloggi-monorepo/.github/workflows/deploy.yml

19 lines
583 B
YAML

name: Deploy on package push
on:
registry_package:
types: ["published", "updated"]
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.registry_package.name == 'infoalloggi-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"}'