lix-website/themes/lix/.gitlab-ci.yml
2024-04-26 22:49:34 -06:00

19 lines
573 B
YAML

default:
image: "${CI_TEMPLATE_REGISTRY_HOST}/pages/hugo/hugo_extended:latest"
test:
script:
- cd hugoBasicExample && hugo --themesDir ../../ --baseURL https://writeonlyhugo.gitlab.io/up-business-theme/ && mv public ../public
rules:
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
pages:
script:
- cd hugoBasicExample && hugo --themesDir ../../ --baseURL https://writeonlyhugo.gitlab.io/up-business-theme/ && mv public ../public
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
environment: production