Fix: Deploy nur bei manuellem Trigger (workflow_dispatch)

This commit is contained in:
2026-06-01 21:30:01 +02:00
parent a4685c09b8
commit cabb50a1b8

View File

@@ -4,6 +4,12 @@ on:
push:
branches:
- main
workflow_dispatch:
inputs:
deploy:
description: 'Manuell deployen?'
required: true
default: 'yes'
jobs:
build:
@@ -34,6 +40,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
environment: production
if: github.event_name == 'workflow_dispatch'
steps:
- name: Checkout code