mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
🐳 Add support for optional success-url
This commit is contained in:
parent
345fa7c9c3
commit
3dab1b0302
8
.github/workflows/docker-images-nightly.yml
vendored
8
.github/workflows/docker-images-nightly.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue