Add webhook action #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish dev | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
- gh-publish-webhook | ||
jobs: | ||
webhook: | ||
steps: | ||
- name: webhook.sh | ||
# You may pin to the exact commit or the version. | ||
# uses: johannes-huther/webhook.sh@837277d6d505c27885903a1e7f1c45dd9adc618c | ||
uses: johannes-huther/[email protected] | ||
with: | ||
# The HTTP URI of the webhook endpoint to invoke | ||
webhook_url: https://dev.lumina.eiger.co | ||
# The secret with which a signature hash is generated | ||
webhook_secret: | ||
# Credentials to be used for BASIC authentication (optional) | ||
webhook_auth: # optional | ||
# json | form-urlencoded | json-extended | ||
webhook_type: # optional | ||
# Optional, set to true to enable verbose output. Warning: this might lead to domain and IP leaking, as well as other security issues as the logs are public. | ||
verbose: # optional | ||
# Optional, set to true to disable output and therefore IP leaking | ||
silent: # optional | ||
# Optional, set to false to disable verification of SSL certificates | ||
verify_ssl: # optional, default is true | ||
# Optional additional data to include in the payload | ||
data: # optional | ||