From 7081312a634b990cc297cf9127b39445b5772d5f Mon Sep 17 00:00:00 2001 From: emarti2 Date: Wed, 1 Mar 2023 16:29:02 +0100 Subject: [PATCH] github actions updated --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e21662b..66fa974 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,3 +27,17 @@ jobs: with: push: true tags: emartps/tools-discoverer-nuxt:latest + + redeploy: + on: + release: + types: [published] + name: Redeploy webhook call + runs-on: ubuntu-18.04 + needs: [docker] + steps: + - name: Deploy docker container webhook + uses: joelwmale/webhook-action@master + env: + WEBHOOK_URL: ${{ secrets.DEPLOY_WEBHOOK_URL }} + data: "{ 'myField': 'myFieldValue'}"