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