From 3dab1b030253b2810b9d425c4d57f1c1cd527041 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 25 Feb 2022 19:39:35 +0100 Subject: [PATCH] :whale: Add support for optional success-url --- .github/workflows/docker-images-nightly.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docker-images-nightly.yml b/.github/workflows/docker-images-nightly.yml index 7ca881345b..25937bc131 100644 --- a/.github/workflows/docker-images-nightly.yml +++ b/.github/workflows/docker-images-nightly.yml @@ -22,6 +22,10 @@ on: type: boolean required: true default: false + success-url: + description: 'URL to call after Docker Image got built successfully.' + required: false + default: '' jobs: build: @@ -54,3 +58,7 @@ jobs: platforms: linux/amd64 push: true tags: n8nio/n8n:${{ github.event.inputs.tag || 'nightly' }} + - name: Call Success URL - optionally + run: | + [[ "${{github.event.inputs.success-url}}" != "" ]] && curl -I ${{github.event.inputs.success-url}} || echo "" + shell: bash