Update .gitea/workflows/ci.yml
This commit is contained in:
@@ -4,16 +4,16 @@ on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
run_build:
|
||||
type: boolean
|
||||
type: string
|
||||
default: true
|
||||
run_sonar:
|
||||
type: boolean
|
||||
type: string
|
||||
default: true
|
||||
run_deploy:
|
||||
type: boolean
|
||||
type: string
|
||||
default: false
|
||||
wait_for_quality_gate:
|
||||
type: boolean
|
||||
type: string
|
||||
default: true
|
||||
tech_stack:
|
||||
type: string
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
|
||||
# 🔨 BUILD
|
||||
build:
|
||||
if: inputs.run_build == true
|
||||
if: inputs.run_build == "true"
|
||||
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/build.yml@main
|
||||
with:
|
||||
tech_stack: ${{ inputs.tech_stack }}
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
|
||||
# 🔍 SONAR
|
||||
sonar:
|
||||
if: inputs.run_sonar == true
|
||||
if: inputs.run_sonar == "true"
|
||||
needs: build
|
||||
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/quality.yml@main
|
||||
with:
|
||||
@@ -104,7 +104,7 @@ jobs:
|
||||
|
||||
# 🚀 DEPLOY
|
||||
deploy:
|
||||
if: inputs.run_deploy == true
|
||||
if: inputs.run_deploy == "true"
|
||||
needs: [build, sonar]
|
||||
uses: Rajendra.Reddy/wdipl-actions/.gitea/workflows/deploy.yml@main
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user