feat: add deployment job for infoalloggi-web in GitHub Actions workflow
This commit is contained in:
parent
38efe3428a
commit
fc104d4044
1 changed files with 12 additions and 0 deletions
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
|
|
@ -17,3 +17,15 @@ jobs:
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
-H 'x-api-key: gbiVIPaEQtkPywiAOIxiBtLrjKVuIqcnXXNMTzMXZoyTgJtgyLpHrlfBEqIcyEUM' \
|
-H 'x-api-key: gbiVIPaEQtkPywiAOIxiBtLrjKVuIqcnXXNMTzMXZoyTgJtgyLpHrlfBEqIcyEUM' \
|
||||||
-d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}'
|
-d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}'
|
||||||
|
deploy-infoalloggi:
|
||||||
|
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: iIKlaMNilGkzCIgGNmQbzxUfvrwAwFEXcDBVxzVbSLPghbqLiagXcvwJRfLZxxao' \
|
||||||
|
-d '{"composeId": "7apez8FViLShEjsFxlRNY"}'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue