Skip to content
Snippets Groups Projects
Commit d5b131b7 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

update ci for prod

parent 25ff6f76
No related branches found
No related tags found
No related merge requests found
Pipeline #123689 passed with stages
in 11 minutes and 7 seconds
......@@ -490,6 +490,8 @@ delete-helm-release:prod:
post-deploy:dev:
extends: .post-deploy
rules:
- if: $CI_COMMIT_BRANCH != "main"
needs:
- "deploy:dev"
variables:
......@@ -501,3 +503,20 @@ post-deploy:dev:
environment:
name: k8sdev-01
url: "https://${HOST_DEV}"
post-deploy:prod:
extends: .post-deploy
rules:
- if: $CI_COMMIT_BRANCH == "main"
needs:
- "deploy:prod"
variables:
NODE_ENV: "production"
KUBE_NAMESPACE: "defense-finder-prod"
PUBLIC_URL: "${HOST_PROD}"
CI_DEBUG_TRACE: "false"
ENV: "production"
environment:
name: k8sprod-02
url: "https://${HOST_PROD}"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment