Files
demo/trigger-immich-deploy.sh
2025-05-31 11:40:27 -07:00

15 lines
465 B
Bash

#!/bin/bash
curl --header "Content-Type: application/json" \
--header "X-Api-Key: $KOMODO_API_KEY" \
--header "X-Api-Secret: $KOMODO_API_SECRET" \
--data '{ "stack": "demo-immich" }' \
https://demo.komo.do/execute/StopStack
sleep 3s
curl --header "Content-Type: application/json" \
--header "X-Api-Key: $KOMODO_API_KEY" \
--header "X-Api-Secret: $KOMODO_API_SECRET" \
--data '{ "stack": "demo-immich" }' \
https://demo.komo.do/execute/DeployStack