From 1b549caa2ca35ab0971bd142a527b3355503024a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noah=20Gro=C3=9F?= <me@codesalat.dev> Date: Thu, 29 May 2025 19:13:29 +0200 Subject: [PATCH] Update submodules in job --- .gitlab-ci.yml | 7 +++++-- .gitmodules | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d39f4f7..dce0952 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,8 +2,7 @@ image: hugomods/hugo:exts variables: # To download the theme - GIT_SUBMODULE_STRATEGY: normal - GIT_SUBMODULE_UPDATE_FLAGS: --remote + GIT_SUBMODULE_STRATEGY: none default: before_script: @@ -19,8 +18,12 @@ test: - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH deploy: + before_script: + - apk add git script: #- python3 translatePosts.py + - git submodule set-url static/dokumente https://hda11644:${DOCUMENT_TOKEN}@code.fbi.h-da.de/fachschaft-informatik/fsr-fachschaftsrat/archive/dokumente + - git submodule update --init --remote - ls - hugo # Setup SSH diff --git a/.gitmodules b/.gitmodules index 729dcdd..5b21f19 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "themes/hugo-arcana"] path = themes/hugo-arcana - url = git@github.com:half-duplex/hugo-arcana.git + url = https://github.com/half-duplex/hugo-arcana [submodule "static/dokumente"] path = static/dokumente - url = git@code.fbi.h-da.de:fachschaft-informatik/fsr-fachschaftsrat/archive/dokumente + url = https://code.fbi.h-da.de/fachschaft-informatik/fsr-fachschaftsrat/archive/dokumente.git -- GitLab