set gitainer url
Some checks failed
Reload Act Runner Stack to clear cache for workflows / reload-primary (push) Blocked by required conditions
Reload Act Runner Stack to clear cache for workflows / diff (push) Successful in 1m8s
Reload Act Runner Stack to clear cache for workflows / reload-secondary (push) Has been cancelled
Reload Act Runner Stack to clear cache for workflows / wait-for-secondary-death (push) Has been cancelled
Reload Act Runner Stack to clear cache for workflows / pull-cache-secondary (push) Has been cancelled

This commit is contained in:
Martin Dimitrov 2026-03-08 20:29:20 -07:00
parent de870952d5
commit 529e8e82c8

View File

@ -37,7 +37,7 @@ jobs:
if [ "${{ inputs.delayed_silent }}" = "true" ]; then
echo "Delaying the webhook call by 10s using a detached container."
echo "This gives the runner time to report job completion and clean up before it restarts."
docker run --rm -d alpine sh -c "apk add --no-cache curl && sleep 10 && curl --max-time ${{ inputs.webhook_timeout }} --request POST 'http://192.168.1.150:9080/api/stacks/${{ inputs.stack_name }}?pretty'"
docker run --rm -d alpine sh -c "apk add --no-cache curl && sleep 10 && curl --max-time ${{ inputs.webhook_timeout }} --request POST 'http://gitainer.local.chromart.cc/api/stacks/${{ inputs.stack_name }}?pretty'"
else
curl --max-time ${{ inputs.webhook_timeout }} --request POST "http://192.168.1.150:9080/api/stacks/${{ inputs.stack_name }}?pretty"
curl --max-time ${{ inputs.webhook_timeout }} --request POST "http://gitainer.local.chromart.cc/api/stacks/${{ inputs.stack_name }}?pretty"
fi