19 lines
378 B
YAML
19 lines
378 B
YAML
|
variables:
|
||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||
|
include:
|
||
|
- file: '/action.yml'
|
||
|
project: 'templates/hugo-obsidian'
|
||
|
inputs:
|
||
|
index: "true"
|
||
|
input: content
|
||
|
output: assets/indices
|
||
|
root: .
|
||
|
- file: "/.gitlab/hugo.template.yml"
|
||
|
stages:
|
||
|
- index
|
||
|
- setup-hugo
|
||
|
- deploy
|
||
|
deploy:
|
||
|
stage: deploy
|
||
|
script:
|
||
|
- cp -r ${CI_PROJECT_DIR}/* ${DEPLOY_PATH}
|