Change only to rules block
Because only is a deprecated feature
This commit is contained in:
parent
a2b55ca1c0
commit
b3a508b4d4
@ -6,9 +6,8 @@ build-vue:
|
|||||||
script:
|
script:
|
||||||
- cd frontend
|
- cd frontend
|
||||||
- docker build --pull -t vue .
|
- docker build --pull -t vue .
|
||||||
only:
|
rules:
|
||||||
- merge_requests
|
- if: $CI_MERGE_REQUEST_ID
|
||||||
|
|
||||||
|
|
||||||
build-backend:
|
build-backend:
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
@ -18,13 +17,13 @@ build-backend:
|
|||||||
script:
|
script:
|
||||||
- cd backend
|
- cd backend
|
||||||
- docker build --pull -t backend .
|
- docker build --pull -t backend .
|
||||||
only:
|
rules:
|
||||||
- merge_requests
|
- if: $CI_MERGE_REQUEST_ID
|
||||||
|
|
||||||
build-android:
|
build-android:
|
||||||
image: debian
|
image: debian
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- echo "To be done"
|
- echo "To be done"
|
||||||
only:
|
rules:
|
||||||
- merge_requests
|
- if: $CI_MERGE_REQUEST_ID
|
||||||
|
Loading…
Reference in New Issue
Block a user