diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be2aed2..3a566cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,6 +28,8 @@ vps-website: - chmod 700 ~/.ssh/ - ssh-keyscan $VPS_HOST 2>&1 >> ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts + - git submodule init + - git submodule update script: # Build then upload - cd gitpage/ @@ -40,6 +42,9 @@ vps-website: pages: image: shockrah/website:latest stage: deploy + before_script: + - git submodule init + - git submodule update script: - cd gitpage - hugo