I’ve setup my yaml to send web hooks to my server to notify on build stages.
The build works correctly, and I get fail/success and the resulting build uploads to firebase.
I do not receive any POST request (actually - I receive no request) from Travis CI during the build to my web server.
Here’s my .yaml file:
language: node_js node_js: - "8" script: - echo 'Deploy!!' - echo 'Installing Deps!' - yarn - cd functions - yarn - cd .. - echo 'Building!' - npm run build:release install: - npm install -g firebase-tools after_success: - firebase deploy --token "$FIREBASE_TOKEN" notifications: webhooks: urls: - https://myDomain.com/travis.php on_success: always # default: always on_failure: always # default: always on_start: always # default: never on_cancel: always # default: always on_error: always # default: always
Note that I’ve changed the actual API URL for security purposes.
I know that the webhook script work because I trigger it with fetch and postman.
How can I verify that travis is initiating the POST request?