Update github action file
This commit is contained in:
parent
9563b57dea
commit
f584e6d746
|
|
@ -8,7 +8,7 @@ on:
|
||||||
- dev_odex25_base
|
- dev_odex25_base
|
||||||
- dev_odex25_dms
|
- dev_odex25_dms
|
||||||
- dev_odex25_fleet
|
- dev_odex25_fleet
|
||||||
- dev_odex25_ENSAN
|
- dev_odex25_helpdesk
|
||||||
- dev_odex25_hr
|
- dev_odex25_hr
|
||||||
- dev_odex25_inventory
|
- dev_odex25_inventory
|
||||||
- dev_odex25_maintenance
|
- dev_odex25_maintenance
|
||||||
|
|
@ -23,12 +23,13 @@ on:
|
||||||
- dev_odex25_website
|
- dev_odex25_website
|
||||||
- dev_openeducat_erp-14.0.1.0
|
- dev_openeducat_erp-14.0.1.0
|
||||||
- dev_odex25_ensan
|
- dev_odex25_ensan
|
||||||
|
- dev_odex25_donation
|
||||||
- preprod_odex-event
|
- preprod_odex-event
|
||||||
- preprod_odex25_accounting
|
- preprod_odex25_accounting
|
||||||
- preprod_odex25_base
|
- preprod_odex25_base
|
||||||
- preprod_odex25_dms
|
- preprod_odex25_dms
|
||||||
- preprod_odex25_fleet
|
- preprod_odex25_fleet
|
||||||
- preprod_odex25_ENSAN
|
- preprod_odex25_helpdesk
|
||||||
- preprod_odex25_hr
|
- preprod_odex25_hr
|
||||||
- preprod_odex25_inventory
|
- preprod_odex25_inventory
|
||||||
- preprod_odex25_maintenance
|
- preprod_odex25_maintenance
|
||||||
|
|
@ -43,6 +44,7 @@ on:
|
||||||
- preprod_odex25_website
|
- preprod_odex25_website
|
||||||
- preprod_openeducat_erp-14.0.1.0
|
- preprod_openeducat_erp-14.0.1.0
|
||||||
- preprod_odex25_ensan
|
- preprod_odex25_ensan
|
||||||
|
- preprod_odex25_donation
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
|
@ -60,7 +62,29 @@ jobs:
|
||||||
deploy_preprod_server:
|
deploy_preprod_server:
|
||||||
name: Deploy to Preprod Servers
|
name: Deploy to Preprod Servers
|
||||||
runs-on: app-sever-project-runner
|
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:
|
steps:
|
||||||
- name: Checkout And Restart Project
|
- name: Checkout And Restart Project
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -76,7 +100,29 @@ jobs:
|
||||||
deploy_test_server:
|
deploy_test_server:
|
||||||
name: Deploy to Dev Servers
|
name: Deploy to Dev Servers
|
||||||
runs-on: app-sever-project-runner
|
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:
|
steps:
|
||||||
- name: Checkout And Restart Project
|
- name: Checkout And Restart Project
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -92,7 +138,29 @@ jobs:
|
||||||
ensan_vpn_stage_server:
|
ensan_vpn_stage_server:
|
||||||
name: Deploy to Ensan Stage
|
name: Deploy to Ensan Stage
|
||||||
runs-on: new-ensan-vpn-client-server-runner
|
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:
|
steps:
|
||||||
- name: Checkout And Restart Project
|
- name: Checkout And Restart Project
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue