lix-website/themes/lix/.gitlab-ci.yml

19 lines
573 B
YAML
Raw Normal View History

2024-04-27 03:39:10 +00:00
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