diff options
1 files changed, 9 insertions, 1 deletions
| -rw-r--r-- | .gitlab-ci.yml | 10 |
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9de2e98..4e112f0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,12 +3,20 @@ image: busybox +# Thanks https://dzone.com/articles/using-git-submodules-with-gitlab-cicd +variables: + GIT_SUBMODULE_STRATEGY: recursive + pages: stage: deploy + before_script: + - git config --global http.sslVerify "false" + - git submodule init + - git submodule update --recursive --remote script: - echo "The site will be deployed to $CI_PAGES_URL" artifacts: paths: - public rules: - - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
\ No newline at end of file + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH |
