93686531a7
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 42s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Successful in 4m58s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Successful in 5m4s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Successful in 5m59s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 37s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (benedikta) (push) Successful in 4m31s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Successful in 4m31s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Successful in 4m55s
25 lines
514 B
YAML
25 lines
514 B
YAML
# Nested Workflows
|
|
# Call other workflows as sub-workflows
|
|
|
|
description: Example of nested workflows
|
|
|
|
steps:
|
|
- command: echo "Preparing data for sub-workflows"
|
|
|
|
- run: sub-workflow
|
|
params: "TASK_ID=123"
|
|
|
|
- command: echo "Main workflow completed"
|
|
|
|
---
|
|
# Sub-workflow definition
|
|
name: sub-workflow
|
|
description: Sub-workflow that gets called by main
|
|
params:
|
|
- TASK_ID: "000"
|
|
|
|
steps:
|
|
- command: echo "Sub-workflow executing with TASK_ID=${TASK_ID}"
|
|
|
|
- command: echo "Sub-workflow step 2"
|