From 0ba6e2280e7defcdb6a400b17d16198b7e66b3c5 Mon Sep 17 00:00:00 2001 From: MohammadTaha Basiri Date: Sat, 5 Feb 2022 15:35:58 +0330 Subject: [PATCH] auto deploy configuration --- .gitlab-ci.yml | 3 +++ deployment/config.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 627df15..1101f2f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,9 +4,12 @@ stages: - deploy build: + stage: build script: - flutter clean - flutter build web --webrenderer canvaskit + only: + - test push: stage: push diff --git a/deployment/config.yaml b/deployment/config.yaml index c6a4b12..c49f51c 100644 --- a/deployment/config.yaml +++ b/deployment/config.yaml @@ -9,6 +9,6 @@ spec: path: / replicas: 1 resources: - memory: 250Mi + memory: 150Mi domains: - name: test.didvan.app \ No newline at end of file