diff options
| Commit | 6e1d6d677d5f62bc90d013f9891474aa867ff476 (patch) | |
|---|---|---|
| Author | 2023-01-17 15:19:24 +0000 | |
| Committer | 2023-01-17 15:19:24 +0000 | |
| Files | f3a475a136ca9098f2a1ae16100ac858ec94c917 | |
| web-buttons-6e1d6d677d5f62bc90d013f9891474aa867ff476.tar web-buttons-6e1d6d677d5f62bc90d013f9891474aa867ff476.tar.gz web-buttons-6e1d6d677d5f62bc90d013f9891474aa867ff476.zip | ||
| Parent | b6d0560e3fcb5f476a81c55c34bf09e9845fdd86 (diff) | |
[pages] Properly pull submodules
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 |
