diff --git a/.github/workflows/dev-preprod-servers.yml b/.github/workflows/dev-preprod-servers.yml index 96b408986..d21f6f5a5 100644 --- a/.github/workflows/dev-preprod-servers.yml +++ b/.github/workflows/dev-preprod-servers.yml @@ -8,7 +8,7 @@ on: - dev_odex25_base - dev_odex25_dms - dev_odex25_fleet - - dev_odex25_ENSAN + - dev_odex25_helpdesk - dev_odex25_hr - dev_odex25_inventory - dev_odex25_maintenance @@ -23,12 +23,13 @@ on: - dev_odex25_website - dev_openeducat_erp-14.0.1.0 - dev_odex25_ensan + - dev_odex25_donation - preprod_odex-event - preprod_odex25_accounting - preprod_odex25_base - preprod_odex25_dms - preprod_odex25_fleet - - preprod_odex25_ENSAN + - preprod_odex25_helpdesk - preprod_odex25_hr - preprod_odex25_inventory - preprod_odex25_maintenance @@ -43,6 +44,7 @@ on: - preprod_odex25_website - preprod_openeducat_erp-14.0.1.0 - preprod_odex25_ensan + - preprod_odex25_donation workflow_dispatch: inputs: @@ -60,7 +62,29 @@ jobs: deploy_preprod_server: name: Deploy to Preprod Servers runs-on: app-sever-project-runner - if: (github.ref == 'refs/heads/preprod_odex-event' || github.ref == 'refs/heads/preprod_odex25_accounting' || github.ref == 'refs/heads/preprod_odex25_base' || github.ref == 'refs/heads/preprod_odex25_dms' || github.ref == 'refs/heads/preprod_odex25_fleet' || github.ref == 'refs/heads/preprod_odex25_ENSAN' || github.ref == 'refs/heads/preprod_odex25_hr' || github.ref == 'refs/heads/preprod_odex25_inventory' || github.ref == 'refs/heads/preprod_odex25_maintenance' || github.ref == 'refs/heads/preprod_odex25_mobile' || github.ref == 'refs/heads/preprod_odex25_pos' || github.ref == 'refs/heads/preprod_odex25_project' || github.ref == 'refs/heads/preprod_odex25_purchase' || github.ref == 'refs/heads/preprod_odex25_realstate' || github.ref == 'refs/heads/preprod_odex25_sales' || github.ref == 'refs/heads/preprod_odex25_survey' || github.ref == 'refs/heads/preprod_odex25_transactions' || github.ref == 'refs/heads/preprod_odex25_website' || github.ref == 'refs/heads/preprod_openeducat_erp-14.0.1.0' || github.ref == 'refs/heads/preprod_odex25_ensan') || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'preprod') + if: | + (github.ref == 'refs/heads/preprod_odex-event' || + github.ref == 'refs/heads/preprod_odex25_accounting' || + github.ref == 'refs/heads/preprod_odex25_base' || + github.ref == 'refs/heads/preprod_odex25_dms' || + github.ref == 'refs/heads/preprod_odex25_fleet' || + github.ref == 'refs/heads/preprod_odex25_helpdesk' || + github.ref == 'refs/heads/preprod_odex25_hr' || + github.ref == 'refs/heads/preprod_odex25_inventory' || + github.ref == 'refs/heads/preprod_odex25_maintenance' || + github.ref == 'refs/heads/preprod_odex25_mobile' || + github.ref == 'refs/heads/preprod_odex25_pos' || + github.ref == 'refs/heads/preprod_odex25_project' || + github.ref == 'refs/heads/preprod_odex25_purchase' || + github.ref == 'refs/heads/preprod_odex25_realstate' || + github.ref == 'refs/heads/preprod_odex25_sales' || + github.ref == 'refs/heads/preprod_odex25_survey' || + github.ref == 'refs/heads/preprod_odex25_transactions' || + github.ref == 'refs/heads/preprod_odex25_website' || + github.ref == 'refs/heads/preprod_openeducat_erp-14.0.1.0' || + github.ref == 'refs/heads/preprod_odex25_ensan' || + github.ref == 'refs/heads/preprod_odex25_donation') + || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'preprod') steps: - name: Checkout And Restart Project run: | @@ -76,7 +100,29 @@ jobs: deploy_test_server: name: Deploy to Dev Servers runs-on: app-sever-project-runner - if: (github.ref == 'refs/heads/dev_odex-event' || github.ref == 'refs/heads/dev_odex25_accounting' || github.ref == 'refs/heads/dev_odex25_base' || github.ref == 'refs/heads/dev_odex25_dms' || github.ref == 'refs/heads/dev_odex25_fleet' || github.ref == 'refs/heads/dev_odex25_ENSAN' || github.ref == 'refs/heads/dev_odex25_hr' || github.ref == 'refs/heads/dev_odex25_inventory' || github.ref == 'refs/heads/dev_odex25_maintenance' || github.ref == 'refs/heads/dev_odex25_mobile' || github.ref == 'refs/heads/dev_odex25_pos' || github.ref == 'refs/heads/dev_odex25_project' || github.ref == 'refs/heads/dev_odex25_purchase' || github.ref == 'refs/heads/dev_odex25_realstate' || github.ref == 'refs/heads/dev_odex25_sales' || github.ref == 'refs/heads/dev_odex25_survey' || github.ref == 'refs/heads/dev_odex25_transactions' || github.ref == 'refs/heads/dev_odex25_website' || github.ref == 'refs/heads/dev_openeducat_erp-14.0.1.0' || github.ref == 'refs/heads/dev_odex25_ensan') || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev') + if: | + (github.ref == 'refs/heads/dev_odex-event' || + github.ref == 'refs/heads/dev_odex25_accounting' || + github.ref == 'refs/heads/dev_odex25_base' || + github.ref == 'refs/heads/dev_odex25_dms' || + github.ref == 'refs/heads/dev_odex25_fleet' || + github.ref == 'refs/heads/dev_odex25_helpdesk' || + github.ref == 'refs/heads/dev_odex25_hr' || + github.ref == 'refs/heads/dev_odex25_inventory' || + github.ref == 'refs/heads/dev_odex25_maintenance' || + github.ref == 'refs/heads/dev_odex25_mobile' || + github.ref == 'refs/heads/dev_odex25_pos' || + github.ref == 'refs/heads/dev_odex25_project' || + github.ref == 'refs/heads/dev_odex25_purchase' || + github.ref == 'refs/heads/dev_odex25_realstate' || + github.ref == 'refs/heads/dev_odex25_sales' || + github.ref == 'refs/heads/dev_odex25_survey' || + github.ref == 'refs/heads/dev_odex25_transactions' || + github.ref == 'refs/heads/dev_odex25_website' || + github.ref == 'refs/heads/dev_openeducat_erp-14.0.1.0' || + github.ref == 'refs/heads/dev_odex25_ensan' || + github.ref == 'refs/heads/dev_odex25_donation') + || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'dev') steps: - name: Checkout And Restart Project run: | @@ -92,7 +138,29 @@ jobs: ensan_vpn_stage_server: name: Deploy to Ensan Stage runs-on: new-ensan-vpn-client-server-runner - if: (github.ref == 'refs/heads/preprod_odex-event' || github.ref == 'refs/heads/preprod_odex25_accounting' || github.ref == 'refs/heads/preprod_odex25_base' || github.ref == 'refs/heads/preprod_odex25_dms' || github.ref == 'refs/heads/preprod_odex25_fleet' || github.ref == 'refs/heads/preprod_odex25_ENSAN' || github.ref == 'refs/heads/preprod_odex25_hr' || github.ref == 'refs/heads/preprod_odex25_inventory' || github.ref == 'refs/heads/preprod_odex25_maintenance' || github.ref == 'refs/heads/preprod_odex25_mobile' || github.ref == 'refs/heads/preprod_odex25_pos' || github.ref == 'refs/heads/preprod_odex25_project' || github.ref == 'refs/heads/preprod_odex25_purchase' || github.ref == 'refs/heads/preprod_odex25_realstate' || github.ref == 'refs/heads/preprod_odex25_sales' || github.ref == 'refs/heads/preprod_odex25_survey' || github.ref == 'refs/heads/preprod_odex25_transactions' || github.ref == 'refs/heads/preprod_odex25_website' || github.ref == 'refs/heads/preprod_openeducat_erp-14.0.1.0' || github.ref == 'refs/heads/preprod_odex25_ensan') || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'preprod') + if: | + (github.ref == 'refs/heads/preprod_odex-event' || + github.ref == 'refs/heads/preprod_odex25_accounting' || + github.ref == 'refs/heads/preprod_odex25_base' || + github.ref == 'refs/heads/preprod_odex25_dms' || + github.ref == 'refs/heads/preprod_odex25_fleet' || + github.ref == 'refs/heads/preprod_odex25_helpdesk' || + github.ref == 'refs/heads/preprod_odex25_hr' || + github.ref == 'refs/heads/preprod_odex25_inventory' || + github.ref == 'refs/heads/preprod_odex25_maintenance' || + github.ref == 'refs/heads/preprod_odex25_mobile' || + github.ref == 'refs/heads/preprod_odex25_pos' || + github.ref == 'refs/heads/preprod_odex25_project' || + github.ref == 'refs/heads/preprod_odex25_purchase' || + github.ref == 'refs/heads/preprod_odex25_realstate' || + github.ref == 'refs/heads/preprod_odex25_sales' || + github.ref == 'refs/heads/preprod_odex25_survey' || + github.ref == 'refs/heads/preprod_odex25_transactions' || + github.ref == 'refs/heads/preprod_odex25_website' || + github.ref == 'refs/heads/preprod_openeducat_erp-14.0.1.0' || + github.ref == 'refs/heads/preprod_odex25_ensan' || + github.ref == 'refs/heads/preprod_odex25_donation') + || (github.event_name == 'workflow_dispatch' && github.event.inputs.environment == 'preprod') steps: - name: Checkout And Restart Project run: |