From 1d11aba5dff499918daa699cee7de7308ad9b6c1 Mon Sep 17 00:00:00 2001 From: AHMZA Date: Tue, 14 Dec 2021 01:07:17 +0000 Subject: [PATCH 1/2] dissabled categories in favour of using only tags --- config.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/config.yml b/config.yml index 05bb549..663f0fc 100644 --- a/config.yml +++ b/config.yml @@ -107,10 +107,6 @@ params: keys: ["title", "permalink", "summary", "content"] menu: main: - - identifier: categories - name: categories - url: /categories/ - weight: 10 - identifier: tags name: tags url: /tags/ From 5e88f6d635440bf5e7db7f35354fcc0cb6407e65 Mon Sep 17 00:00:00 2001 From: AHMZA Date: Tue, 14 Dec 2021 01:10:10 +0000 Subject: [PATCH 2/2] only build for changes made to main --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75cf827..1bbb74d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,8 @@ Build: artifacts: paths: - public + only: + - main Dockerize: stage: dockerize @@ -33,3 +35,5 @@ Dockerize: - echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:latest + only: + - main