Update .gitea/actions/k8s/action.yaml
This commit is contained in:
@@ -14,6 +14,15 @@ inputs:
|
|||||||
secrets:
|
secrets:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
appName:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
optionName:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
tests:
|
||||||
|
type: bool
|
||||||
|
default: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'composite'
|
using: 'composite'
|
||||||
@@ -61,6 +70,7 @@ runs:
|
|||||||
command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}}
|
command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}}
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
|
if: ${{ inputs.tests == 'true' }}
|
||||||
uses: clowdhaus/argo-cd-action/@main
|
uses: clowdhaus/argo-cd-action/@main
|
||||||
with:
|
with:
|
||||||
version: 3.1.3
|
version: 3.1.3
|
||||||
|
|||||||
Reference in New Issue
Block a user