From 79792b504caf9bf31381add8a96258bf12c296fa Mon Sep 17 00:00:00 2001 From: Torgrim <sir_alexiner@hotmail.com> Date: Sat, 20 Apr 2024 01:24:04 +0200 Subject: [PATCH] Updated .gitlab-ci.yml for deployment on the Gitlab Runner --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b379c0f..8a38a33 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,10 +45,10 @@ Deploy: stage: Deploy before_script: - cd ./Go/ + - docker compose down - apk add --no-cache curl bash - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash > /dev/null 2>&1 script: - docker compose up globeboard -d - after_script: - - cd ./Go/ - - docker compose down \ No newline at end of file + only: + - main \ No newline at end of file -- GitLab