From ae689fb7c6e32f7e3d43bf24559e7a04ccfe9bd5 Mon Sep 17 00:00:00 2001 From: Koen Baas Date: Tue, 18 Mar 2025 10:16:40 +0000 Subject: [PATCH] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a5cc0c0..865d732 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -5,7 +5,7 @@ on: required: true type: string env: - required: true + required: false type: string inputs: environment: @@ -52,6 +52,7 @@ jobs: args: ${{ inputs.composer-args }} - name: Create .env file from secret + if: ${{ inputs.env }} run: echo "${{ secrets.env }}" > .env - name: Build