diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cb4af7368393180e0458f6e7013008bd578c1df3..d8fbfd587e7a161f25334b890782fb14cd50ba83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,24 +4,11 @@ variables: # To download the theme GIT_SUBMODULE_STRATEGY: none -default: - before_script: - - apk add --update --no-cache openssh-client python3 - - apk add py-pip - - python3 -m venv . - - . bin/activate - - pip install deepl -test: - script: - - hugo - rules: - - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH - deploy: before_script: - apk add git openssh script: - #- python3 translatePosts.py + # Use Deploy Token of service account to pull documents - 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