Skip to content
Snippets Groups Projects
Verified Commit 0f8249fc authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

move cmd for init submodule into deploy script

parent f66ca94e
No related branches found
No related tags found
No related merge requests found
...@@ -17,6 +17,9 @@ else ...@@ -17,6 +17,9 @@ else
version="unstable"; version="unstable";
fi fi
# build the unstable version - can be optimized
git submodule update --recursive --init
# add matomo # add matomo
sed -i "/matomohead/r./.ci/analytics/head.html" theme/templates/_index.html sed -i "/matomohead/r./.ci/analytics/head.html" theme/templates/_index.html
sed -i "/matomopolicy/r./.ci/analytics/policy.html" theme/templates/_index.html sed -i "/matomopolicy/r./.ci/analytics/policy.html" theme/templates/_index.html
......
...@@ -61,8 +61,6 @@ build:courses: ...@@ -61,8 +61,6 @@ build:courses:
rules: rules:
- if: $CI_COMMIT_BRANCH == "develop" - if: $CI_COMMIT_BRANCH == "develop"
- if: $CI_COMMIT_BRANCH == "master" - if: $CI_COMMIT_BRANCH == "master"
before_script:
- git submodule update --recursive --init
script: script:
- bash .ci/deploy.sh - bash .ci/deploy.sh
artifacts: artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment