Update .gitlab-ci.yml file
This commit is contained in:
parent
8533ebbb6c
commit
5019315252
@ -1,7 +1,13 @@
|
|||||||
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
deploy_website:
|
test:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
except:
|
||||||
|
variables:
|
||||||
|
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
pages:
|
||||||
before_script:
|
before_script:
|
||||||
- apk add --update --no-cache git curl
|
- apk add --update --no-cache git curl
|
||||||
- git config --global user.name "Denys Konovalov"
|
- git config --global user.name "Denys Konovalov"
|
||||||
@ -22,5 +28,6 @@ deploy_website:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
rules:
|
only:
|
||||||
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
variables:
|
||||||
|
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
Loading…
x
Reference in New Issue
Block a user