4114
Xi
xonecas.gitlab.io / files
xonecas.gitlab.io / .gitlab-ci.yml
811 bytes
1# This file is a template, and might need editing before it works on your project. 2# To contribute improvements to CI/CD templates, please follow the Development guide at: 3# https://docs.gitlab.com/ee/development/cicd/templates.html 4# This specific template is located at: 5# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/Hugo.gitlab-ci.yml 6 7--- 8# All available Hugo versions are listed here: 9# https://gitlab.com/pages/hugo/container_registry 10image: registry.gitlab.com/pages/hugo:latest 11 12variables: 13 GIT_SUBMODULE_STRATEGY: recursive 14 15test: 16 script: 17 - hugo 18 except: 19 variables: 20 - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH 21 22pages: 23 script: 24 - hugo 25 artifacts: 26 paths: 27 - public 28 only: 29 variables: 30 - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH