Summary Files Commits Branches @commit @diff @stats
path: root / .gitlab-ci.yml
blob: dd4b3875887222dd531a7b1dc0223321e773a240 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html

image: busybox

# Thanks https://dzone.com/articles/using-git-submodules-with-gitlab-cicd
variables:
  GIT_SUBMODULE_STRATEGY: recursive 

pages:
  stage: deploy
  script:
    - echo "The site will be deployed to $CI_PAGES_URL"
  artifacts:
    paths:
      - public
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH