Skip to content
Snippets Groups Projects
Commit ac801c6d authored by David Gilbert's avatar David Gilbert :bug:
Browse files

Update to rules instead of only

parent eff701c7
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,10 @@ stages: ...@@ -33,7 +33,10 @@ stages:
- deploy - deploy
Build_Windows: Build_Windows:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Windows_ extends: .Build_Windows_
tags: tags:
- windows - windows
...@@ -43,7 +46,9 @@ Build_Windows: ...@@ -43,7 +46,9 @@ Build_Windows:
# CLIENT_CONFIG: "Shipping" # CLIENT_CONFIG: "Shipping"
Build_Linux: Build_Linux:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Build_Linux_ extends: .Build_Linux_
tags: tags:
- linux - linux
...@@ -53,14 +58,18 @@ Build_Linux: ...@@ -53,14 +58,18 @@ Build_Linux:
# CLIENT_CONFIG: "Shipping" # CLIENT_CONFIG: "Shipping"
Deploy_Windows: Deploy_Windows:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Deploy_VRDev_ extends: .Deploy_VRDev_
needs: needs:
- job: "Build_Windows" - job: "Build_Windows"
artifacts: true artifacts: true
Deploy_CAVE: Deploy_CAVE:
only: ['web', 'schedules'] rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "schedule"
extends: .Deploy_CAVE_ extends: .Deploy_CAVE_
needs: needs:
- job: "Build_Linux" - job: "Build_Linux"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment