Merge pull request 'Update .gitea/workflows/deploy.yml' (#2) from feature/make-env-optional into main

Reviewed-on: #2
This commit is contained in:
Koen Baas 2025-03-18 10:20:07 +00:00
commit ddefd7c716

View File

@ -5,7 +5,7 @@ on:
required: true required: true
type: string type: string
env: env:
required: true required: false
type: string type: string
inputs: inputs:
environment: environment:
@ -52,6 +52,7 @@ jobs:
args: ${{ inputs.composer-args }} args: ${{ inputs.composer-args }}
- name: Create .env file from secret - name: Create .env file from secret
if: ${{ inputs.env }}
run: echo "${{ secrets.env }}" > .env run: echo "${{ secrets.env }}" > .env
- name: Build - name: Build