From d9cf05d6ce33987cb94ca7658840294f4de42c92 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 17 Oct 2021 16:29:47 -0700 Subject: [PATCH] * updating submodules --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) 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