Files
flagger/.github/workflows/deploy.yaml
2025-12-08 22:17:17 +01:00

15 lines
427 B
YAML

name: Call Endpoint
on: workflow_call
jobs:
call-endpoint:
runs-on: ubuntu-latest
steps:
- name: Check if DEPLOY_URL is set and call endpoint
run: |
if [ -n "${{ secrets.DEPLOY_URL }}" ]; then
curl -X POST -H "Content-Type: application/json" -d '{"text":"Image updated"}' "${{ secrets.DEPLOY_URL }}"
else
echo "DEPLOY_URL is not set. Skipping."
fi