From 838bd2744dcbec3477a07cbcd6e15819d39803a0 Mon Sep 17 00:00:00 2001 From: Thatsaphorn Atchariyaphap Date: Sun, 27 Apr 2025 22:00:33 +0200 Subject: [PATCH] Moved sync stage to the end of the pipeline and adapt the stage to use an Alpine Git image --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 42ce980..73eee31 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,13 +5,14 @@ include: - local: 'frontend/.gitlab-ci.yml' stages: - - sync - backend_build - frontend_build - deploy + - sync sync_branches: stage: sync + image: alpine:git@sha256:47a8a580ba3cbc85737c5dccc50078cce5662b84a6c5eaaf5800a841ff5a19c8 rules: - if: '$CI_COMMIT_BRANCH == "production"' before_script: