Private
Public Access
10
0

feat: add manual triger for test

This commit is contained in:
Gharekhani Ehsan
2025-12-25 16:39:29 +03:30
parent cf9dfb665a
commit 5c760604f6
4 changed files with 25 additions and 34 deletions

View File

@@ -2,21 +2,40 @@ name: full CI
run-name: ${{ github.actor }} run Actions 🚀
on:
- push
workflow_dispatch:
inputs:
run-docker:
description: 'Run Docker Build and Push'
required: false
default: true
type: boolean
run-argocd:
description: 'Run ArgoCD Deployment'
required: false
default: true
type: boolean
debug:
description: 'Enable debug mode for ArgoCD deployment'
required: false
default: true
type: boolean
jobs:
docker:
if: ${{ github.event.inputs.run-docker == true }}
uses: ./.github/workflows/docker.yaml
with:
debug: ${{ github.event.inputs.debug }}
registry: ${{ vars.REGISTERY_ADDRESS }}
secrets:
REGISTERY_USER: ${{ secrets.REGISTERY_USER }}
REGISTERY_PASSWORD: ${{ secrets.REGISTERY_PASSWORD }}
argocd:
if: ${{ github.event.inputs.run-argocd == true }}
uses: ./.github/workflows/argocd.yaml
needs: docker
with:
debug: true
debug: ${{ github.event.inputs.debug }}
secrets:
ARGOCD_GIT_TOKEN: ${{ secrets.ARGOCD_GIT_TOKEN }}