You've already forked RekomenciBackend
chore: CI improvements
This commit is contained in:
+8
-1
@@ -181,10 +181,17 @@ build-migrations:
|
|||||||
webhook-backend-deploy:
|
webhook-backend-deploy:
|
||||||
<<: *webhook-config
|
<<: *webhook-config
|
||||||
variables:
|
variables:
|
||||||
WEBHOOK_URL: "https://paas.itqdev.xyz/api/v1/deploy?uuid=gokokwkwkgg8o4gggow00cc8&force=false&tag=$CI_COMMIT_REF_SLUG"
|
WEBHOOK_URL: $WEBHOOK_URL_BACKEND
|
||||||
dependencies:
|
dependencies:
|
||||||
- build-runtime
|
- build-runtime
|
||||||
|
|
||||||
|
webhook-migrations-deploy:
|
||||||
|
<<: *webhook-config
|
||||||
|
variables:
|
||||||
|
WEBHOOK_URL: $WEBHOOK_URL_MIGRATIONS
|
||||||
|
dependencies:
|
||||||
|
- build-migrations
|
||||||
|
|
||||||
workflow:
|
workflow:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ services:
|
|||||||
required: true
|
required: true
|
||||||
- path: ./infrastructure/configs/backend/.env
|
- path: ./infrastructure/configs/backend/.env
|
||||||
required: false
|
required: false
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
ports:
|
ports:
|
||||||
- name: web
|
- name: web
|
||||||
target: 8080
|
target: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user