mirror of
https://gitlab.com/tacowolf/www.git
synced 2026-01-14 06:50:03 -05:00
Merge branch 'add-gitlab-ci' into 'main'
add extended hugo build See merge request tacowolf/www!3
This commit is contained in:
commit
e0922a40df
1 changed files with 21 additions and 0 deletions
21
.gitlab-ci.yml
Normal file
21
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
except:
|
||||||
|
variables:
|
||||||
|
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
|
|
||||||
|
pages:
|
||||||
|
script:
|
||||||
|
- hugo
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
variables:
|
||||||
|
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||||
Loading…
Add table
Reference in a new issue