diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d39f4f70ab14c3f3bb2d4cb1e52176d168b5f6a0..dce09527f02b5585c2aab4ce8a47082f483699d2 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 729dcddb9f5107ccabc3ee407bc598d7b4ccee6b..5b21f19a030700742e19a6cf7ccc887df62a2d5c 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