Merge pull request 'Update .gitea/workflows/deploy.yml' (#2) from feature/make-env-optional into main
Reviewed-on: #2
This commit is contained in:
commit
ddefd7c716
@ -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