frappe_docker/.github/workflows/Master_Workflow.yml
2023-12-02 11:31:45 +03:00

61 lines
2 KiB
YAML

name: Master Workflow
on:
workflow_dispatch:
jobs:
run-workflows:
runs-on:
- self-hosted
call_Deploy_Traefik_and_MariaDB_on_local_repo:
uses: ./.github/workflows/Deploy_Traefik_and_MariaDB.yml
call_Deploy_setup_site_on_local_repo:
uses: ./.github/workflows/setup_site.yml
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Trigger Deploy Traefik and MariaDB
# uses: actions/Run Deploy Traefik and MariaDB-dispatch@v2
# with:
# workflow: 'Deploy Traefik and MariaDB'
# - name: Trigger build system Image base on json config provided
# uses: actions/build system Image base on json config provided-dispatch@v2
# with:
# workflow: 'build system Image base on json config provided'
# - name: Trigger setup site base on provided image build for branch specified
# uses: actions/setup site base on provided image build for branch specified-dispatch@v2
# with:
# workflow: 'setup site base on provided image build for branch specified'
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Run Deploy Traefik and MariaDB
# uses: ./.github/workflows/Deploy_Traefik_and_MariaDB.yml
# # - name: Run build system Image base on json config provided
# # uses: ./.github/workflows/build_system_image.yml
# - name: Run setup site base on provided image build for branch specified
# uses: ./.github/workflows/setup_site.yml
# steps:
# - name: Trigger Deploy Traefik and MariaDB
# uses: actions/workflow-dispatch@v2
# with:
# workflow: Deploy_Traefik_and_MariaDB.yml
# - name: Trigger setup site base on provided image build for branch specified
# uses: actions/workflow-dispatch@v2
# with:
# workflow: setup_site.yml