Update .gitea/workflows/deploy.yml
This commit is contained in:
parent
bfc56002c4
commit
ae689fb7c6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user