From 9f77991bc76ad3d6640e0218133a52e0449d9b54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Florkiewicz?= Date: Mon, 29 Apr 2024 18:00:54 +0200 Subject: [PATCH] Add webhook action --- .github/workflows/main.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9257e33 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,34 @@ +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/webhook.sh@v1.0.0 + 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 +