diff --git a/.gitea/actions/k8s/action.yaml b/.gitea/actions/k8s/action.yaml index 17f6c55..a00e3c2 100644 --- a/.gitea/actions/k8s/action.yaml +++ b/.gitea/actions/k8s/action.yaml @@ -14,6 +14,15 @@ inputs: secrets: required: false type: string + appName: + type: string + required: true + optionName: + type: string + required: true + tests: + type: bool + default: false runs: using: 'composite' @@ -61,6 +70,7 @@ runs: command: app actions run ${{ inputs.environment }} restart --kind Deployment --resource-name ${{github.event.repository.name}} - name: Run Tests + if: ${{ inputs.tests == 'true' }} uses: clowdhaus/argo-cd-action/@main with: version: 3.1.3