Skip to content
Snippets Groups Projects
Commit 1b549caa authored by Noah Groß's avatar Noah Groß
Browse files

Update submodules in job

parent 0eea1f16
Branches
No related tags found
No related merge requests found
Pipeline #284563 failed
...@@ -2,8 +2,7 @@ image: hugomods/hugo:exts ...@@ -2,8 +2,7 @@ image: hugomods/hugo:exts
variables: variables:
# To download the theme # To download the theme
GIT_SUBMODULE_STRATEGY: normal GIT_SUBMODULE_STRATEGY: none
GIT_SUBMODULE_UPDATE_FLAGS: --remote
default: default:
before_script: before_script:
...@@ -19,8 +18,12 @@ test: ...@@ -19,8 +18,12 @@ test:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
deploy: deploy:
before_script:
- apk add git
script: script:
#- python3 translatePosts.py #- 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 - ls
- hugo - hugo
# Setup SSH # Setup SSH
......
[submodule "themes/hugo-arcana"] [submodule "themes/hugo-arcana"]
path = 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"] [submodule "static/dokumente"]
path = 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment