From d76d5672a7e6f16660dbfeb6c9f1920cf7b16141 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 | 18 ++++++++++++++++++ 1 file changed, 18 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..6da16db --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: publish dev + +on: + workflow_dispatch: + push: + branches: + - main + - gh-publish-webhook + +jobs: + webhook: + runs-on: ubuntu-latest + steps: + - name: Invoke deployment hook + uses: distributhor/workflow-webhook@v3 + with: + webhook_url: ${{ secrets.WEBHOOK_URL }} + webhook_secret: ${{ secrets.WEBHOOK_SECRET }} \ No newline at end of file