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