diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9a3bc62..d717773 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +variables: + GIT_SUBMODULE_STRATEGY: none + include: - project: 'templates/hugo-obsidian' file: '/action.yml' @@ -7,17 +10,25 @@ include: output: assets/indices root: "." - local: "/.gitlab/hugo.template.yml" + stages: - clone - index - setup-hugo - deploy + deploy: stage: deploy tags: - shell script: - cp -r ${CI_PROJECT_DIR}/* ${DEPLOY_PATH} + +prestep: + stage: .pre + tags: + - shell + clone: stage: clone tags: